Skip to contentSkip to conversation

x86: coding style fixes to arch/x86/kernel/setup_32.c

PATCH In review Paolo Ciarrocchi 1 participant 1 message Mar 7, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 x86: coding style fixes to arch/x86/kernel/setup_32.c

Fix one:
ERROR: do not initialise externals to 0 or NULL

The change affects the generated binary file:

paolo@paolo-desktop:/tmp/a$ size setup_32.o*
   text    data     bss     dec     hex filename
   3526    7406     885   11817    2e29 setup_32.o
   3526    7406     885   11817    2e29 setup_32.o.after
   3526    7410     885   11821    2e2d setup_32.o.after.initialise
paolo@paolo-desktop:/tmp/a$ md5sum setup_32.o*
d238f977facb3b4e4ee6a18390678376  setup_32.o
d238f977facb3b4e4ee6a18390678376  setup_32.o.after
1c43448c2f50d22215857741ffe5eca5  setup_32.o.after.initialise
---
 arch/x86/kernel/setup_32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/setup_32.c +1 -1
index b120a1c..029354b 100644
@@ -228,7 +228,7 @@ static inline void copy_edd(void)
 }
 #endif
 
-int __initdata user_defined_memmap = 0;
+int __initdata user_defined_memmap;
 
 /*
  * "mem=nopentium" disables the 4MB page tables.
Signature · 1 line
1.5.4.2.316.gf7a7