patch-2.4.9 linux/include/asm-arm/memory.h

Next file: linux/include/asm-arm/mmzone.h
Previous file: linux/include/asm-arm/mach/serial_sa1100.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/include/asm-arm/memory.h linux/include/asm-arm/memory.h
@@ -16,12 +16,12 @@
 
 #include <asm/arch/memory.h>
 
-extern __inline__ unsigned long virt_to_phys(volatile void *x)
+static inline unsigned long virt_to_phys(volatile void *x)
 {
 	return __virt_to_phys((unsigned long)(x));
 }
 
-extern __inline__ void *phys_to_virt(unsigned long x)
+static inline void *phys_to_virt(unsigned long x)
 {
 	return (void *)(__phys_to_virt((unsigned long)(x)));
 }

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