diff options
author | 2006-09-25 23:31:33 -0700 | |
---|---|---|
committer | 2006-09-26 08:48:49 -0700 | |
commit | dfd54cbcc0b834652389ce99b5e656ea5f44a3c1 (patch) | |
tree | 7c403a50b42b2809bb9b18122cbd83e8e2c180c9 /include/asm-s390/processor.h | |
parent | [PATCH] oom: more printk (diff) | |
download | linux-dfd54cbcc0b834652389ce99b5e656ea5f44a3c1.tar.gz linux-dfd54cbcc0b834652389ce99b5e656ea5f44a3c1.tar.bz2 linux-dfd54cbcc0b834652389ce99b5e656ea5f44a3c1.zip |
[PATCH] bootmem: use MAX_DMA_ADDRESS instead of LOW32LIMIT
Introduce ARCH_LOW_ADDRESS_LIMIT which can be set per architecture to
override the 4GB default limit used by the bootmem allocater within
__alloc_bootmem_low() and __alloc_bootmem_low_node(). E.g. s390 needs a
2GB limit instead of 4GB.
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-s390/processor.h')
-rw-r--r-- | include/asm-s390/processor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-s390/processor.h b/include/asm-s390/processor.h index a3a4e5fd30d7..578c2209fa76 100644 --- a/include/asm-s390/processor.h +++ b/include/asm-s390/processor.h @@ -337,6 +337,8 @@ struct notifier_block; int register_idle_notifier(struct notifier_block *nb); int unregister_idle_notifier(struct notifier_block *nb); +#define ARCH_LOW_ADDRESS_LIMIT 0x7fffffffUL + #endif /* |