diff options
| author | 2009-02-11 10:17:42 +0100 | |
|---|---|---|
| committer | 2009-02-11 10:17:42 +0100 | |
| commit | f437e8b53eab92a5829e65781e29aed23d8ffd0c (patch) | |
| tree | 48982c8818a4ac5cddb84ca6a1d55620eb9680ee /arch/sh/kernel/setup.c | |
| parent | Merge branches 'sched/rt' and 'sched/urgent' into sched/core (diff) | |
| parent | Linux 2.6.29-rc4 (diff) | |
| download | wireguard-linux-f437e8b53eab92a5829e65781e29aed23d8ffd0c.tar.xz wireguard-linux-f437e8b53eab92a5829e65781e29aed23d8ffd0c.zip | |
Merge commit 'v2.6.29-rc4' into sched/core
Diffstat (limited to 'arch/sh/kernel/setup.c')
| -rw-r--r-- | arch/sh/kernel/setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 534247508572..370d2cfa34eb 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c @@ -262,11 +262,11 @@ void __init setup_bootmem_allocator(unsigned long free_pfn) BOOTMEM_DEFAULT); /* - * reserve physical page 0 - it's a special BIOS page on many boxes, - * enabling clean reboots, SMP operation, laptop functions. + * Reserve physical pages below CONFIG_ZERO_PAGE_OFFSET. */ - reserve_bootmem(__MEMORY_START, CONFIG_ZERO_PAGE_OFFSET, - BOOTMEM_DEFAULT); + if (CONFIG_ZERO_PAGE_OFFSET != 0) + reserve_bootmem(__MEMORY_START, CONFIG_ZERO_PAGE_OFFSET, + BOOTMEM_DEFAULT); sparse_memory_present_with_active_regions(0); |
