[-mm patch] arch/i386/kernel/apic.c: make modern_apic() static

From: Adrian Bunk
Date: Fri Mar 31 2006 - 09:53:47 EST


This patch makes a nnedlessly global function static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

arch/i386/kernel/apic.c | 2 +-
include/asm-i386/apic.h | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)

--- linux-2.6.16-mm2-full/include/asm-i386/apic.h.old 2006-03-31 15:32:14.000000000 +0200
+++ linux-2.6.16-mm2-full/include/asm-i386/apic.h 2006-03-31 15:32:22.000000000 +0200
@@ -139,8 +139,6 @@

extern int timer_over_8254;

-extern int modern_apic(void);
-
#else /* !CONFIG_X86_LOCAL_APIC */
static inline void lapic_shutdown(void) { }

--- linux-2.6.16-mm2-full/arch/i386/kernel/apic.c.old 2006-03-31 15:32:30.000000000 +0200
+++ linux-2.6.16-mm2-full/arch/i386/kernel/apic.c 2006-03-31 15:32:36.000000000 +0200
@@ -62,7 +62,7 @@

static void apic_pm_activate(void);

-int modern_apic(void)
+static int modern_apic(void)
{
unsigned int lvr, version;
/* AMD systems use old APIC versions, so check the CPU */

-
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/