Messages in this thread Patch in this message | | | Subject | [PATCH] [TRIVIAL] Fix error typo "CONFIG_START_KERNEL" | From | Paul Bolle <> | Date | Wed, 29 May 2013 09:55:47 +0200 |
| |
Signed-off-by: Paul Bolle <pebolle@tiscali.nl> --- Untested. Please note that a quick scan of this code suggests that the preceding test should read #if (CONFIG_LOWMEM_SIZE > (0xF0000000 - CONFIG_KERNEL_START))
But this fix is correct anyhow.
arch/powerpc/mm/init_32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c index 01e2db9..d47d3da 100644 --- a/arch/powerpc/mm/init_32.c +++ b/arch/powerpc/mm/init_32.c @@ -52,7 +52,7 @@ #if defined(CONFIG_KERNEL_START_BOOL) || defined(CONFIG_LOWMEM_SIZE_BOOL) /* The amount of lowmem must be within 0xF0000000 - KERNELBASE. */ #if (CONFIG_LOWMEM_SIZE > (0xF0000000 - PAGE_OFFSET)) -#error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_START_KERNEL" +#error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_KERNEL_START" #endif #endif #define MAX_LOW_MEM CONFIG_LOWMEM_SIZE -- 1.7.11.7
| |