Patchwork [TRIVIAL] Fix error typo "CONFIG_START_KERNEL"

login
register
mail settings
Submitter Paul Bolle
Date May 29, 2013, 7:55 a.m.
Message ID <1369814147.23034.9.camel@x61.thuisdomein>
Download mbox | patch
Permalink /patch/247143/
State New
Headers show

Comments

Paul Bolle - May 29, 2013, 7:55 a.m.
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(-)

Patch

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