Make variables static. Signed-off-by: Chris Wright Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- arch/x86_64/kernel/apic.c | 6 +++--- include/asm-x86_64/apic.h | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) Index: linux-2.6.22-rc6-mm/arch/x86_64/kernel/apic.c =================================================================== --- linux-2.6.22-rc6-mm.orig/arch/x86_64/kernel/apic.c 2007-07-15 17:48:14.000000000 +0200 +++ linux-2.6.22-rc6-mm/arch/x86_64/kernel/apic.c 2007-07-15 17:48:22.000000000 +0200 @@ -40,10 +40,10 @@ #include #include -int apic_mapped; int apic_verbosity; -int apic_calibrate_pmtmr __initdata; -int disable_apic_timer __initdata; +static int apic_mapped; +static int apic_calibrate_pmtmr __initdata; +static int disable_apic_timer __initdata; /* Local APIC timer works in C2? */ int local_apic_timer_c2_ok; Index: linux-2.6.22-rc6-mm/include/asm-x86_64/apic.h =================================================================== --- linux-2.6.22-rc6-mm.orig/include/asm-x86_64/apic.h 2007-07-15 17:48:14.000000000 +0200 +++ linux-2.6.22-rc6-mm/include/asm-x86_64/apic.h 2007-07-15 17:48:22.000000000 +0200 @@ -19,7 +19,6 @@ extern int apic_verbosity; extern int apic_runs_main_timer; extern int ioapic_force; -extern int apic_mapped; /* * Define the default level of output to be very little -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/