patch-2.4.9 linux/include/asm-arm/arch-tbox/io.h
Next file: linux/include/asm-arm/arch-tbox/memory.h
Previous file: linux/include/asm-arm/arch-shark/time.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Aug 12 11:14:00 2001
- Orig file:
v2.4.8/linux/include/asm-arm/arch-tbox/io.h
- Orig date:
Thu Feb 8 16:32:44 2001
diff -u --recursive --new-file v2.4.8/linux/include/asm-arm/arch-tbox/io.h linux/include/asm-arm/arch-tbox/io.h
@@ -15,7 +15,7 @@
/*
* Generic virtual read/write
*/
-extern __inline__ unsigned int __arch_getw(unsigned long a)
+static inline unsigned int __arch_getw(unsigned long a)
{
unsigned int value;
__asm__ __volatile__("ldr%?h %0, [%1, #0] @ getw"
@@ -24,7 +24,7 @@
return value;
}
-extern __inline__ void __arch_putw(unsigned int value, unsigned long a)
+static inline void __arch_putw(unsigned int value, unsigned long a)
{
__asm__ __volatile__("str%?h %0, [%1, #0] @ putw"
: : "r" (value), "r" (a));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)