[patch-mm 29/33] x86_64: cleanup apic.c after clock events switch

From: Thomas Gleixner
Date: Sun Jul 15 2007 - 12:15:50 EST


Make variables static.

Signed-off-by: Chris Wright <chrisw@xxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

---

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 <asm/hpet.h>
#include <asm/apic.h>

-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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/