patch-2.4.8 linux/include/asm-i386/apic.h

Next file: linux/include/asm-i386/checksum.h
Previous file: linux/include/asm-cris/softirq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.7/linux/include/asm-i386/apic.h linux/include/asm-i386/apic.h
@@ -19,17 +19,17 @@
  * Basic functions accessing APICs.
  */
 
-extern __inline void apic_write(unsigned long reg, unsigned long v)
+static __inline void apic_write(unsigned long reg, unsigned long v)
 {
 	*((volatile unsigned long *)(APIC_BASE+reg)) = v;
 }
 
-extern __inline void apic_write_atomic(unsigned long reg, unsigned long v)
+static __inline void apic_write_atomic(unsigned long reg, unsigned long v)
 {
 	xchg((volatile unsigned long *)(APIC_BASE+reg), v);
 }
 
-extern __inline unsigned long apic_read(unsigned long reg)
+static __inline unsigned long apic_read(unsigned long reg)
 {
 	return *((volatile unsigned long *)(APIC_BASE+reg));
 }
@@ -51,7 +51,7 @@
 # define apic_write_around(x,y) apic_write_atomic((x),(y))
 #endif
 
-extern inline void ack_APIC_irq(void)
+static inline void ack_APIC_irq(void)
 {
 	/*
 	 * ack_APIC_irq() actually gets compiled as a single instruction:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)