]> err.no Git - linux-2.6/commitdiff
[PATCH] arch/i386/kernel/apic.c: make modern_apic() static
authorAdrian Bunk <bunk@stusta.de>
Fri, 23 Jun 2006 09:04:17 +0000 (02:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:56 +0000 (07:42 -0700)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/apic.c
include/asm-i386/apic.h

index 3d4b2f3d116a796ffad8ef911353b6a71a2f43b7..261796ff83c3ea374963b96692ab77298f744c65 100644 (file)
@@ -62,7 +62,7 @@ int apic_verbosity;
 
 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 */
index cc9b940fb7e85af98013ff5c5519240728091aaa..1d8362cb2c5da98e28551297eddb26fd11b9a448 100644 (file)
@@ -138,8 +138,6 @@ void switch_ipi_to_APIC_timer(void *cpumask);
 
 extern int timer_over_8254;
 
-extern int modern_apic(void);
-
 #else /* !CONFIG_X86_LOCAL_APIC */
 static inline void lapic_shutdown(void) { }