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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch makes a nnedlessly global function static.

Signed-off-by: Adrian Bunk <[email protected]>

---

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux