patch-2.4.19 linux-2.4.19/include/asm-mips/unaligned.h
Next file: linux-2.4.19/include/asm-mips/unistd.h
Previous file: linux-2.4.19/include/asm-mips/ucontext.h
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-mips/unaligned.h
- Orig date:
Mon Jul 2 13:56:40 2001
diff -urN linux-2.4.18/include/asm-mips/unaligned.h linux-2.4.19/include/asm-mips/unaligned.h
@@ -18,7 +18,7 @@
* This could have been implemented in plain C like IA64 but egcs 1.0.3a
* inflates this to 23 instructions ...
*/
-extern inline unsigned long long __ldq_u(const unsigned long long * __addr)
+static inline unsigned long long __ldq_u(const unsigned long long * __addr)
{
unsigned long long __res;
@@ -33,7 +33,7 @@
/*
* Load word unaligned.
*/
-extern inline unsigned long __ldl_u(const unsigned int * __addr)
+static inline unsigned long __ldl_u(const unsigned int * __addr)
{
unsigned long __res;
@@ -47,7 +47,7 @@
/*
* Load halfword unaligned.
*/
-extern inline unsigned long __ldw_u(const unsigned short * __addr)
+static inline unsigned long __ldw_u(const unsigned short * __addr)
{
unsigned long __res;
@@ -61,7 +61,7 @@
/*
* Store doubleword ununaligned.
*/
-extern inline void __stq_u(unsigned long __val, unsigned long long * __addr)
+static inline void __stq_u(unsigned long __val, unsigned long long * __addr)
{
__asm__("usw\t%1, %0\n\t"
"usw\t%D1, 4+%0"
@@ -72,7 +72,7 @@
/*
* Store long ununaligned.
*/
-extern inline void __stl_u(unsigned long __val, unsigned int * __addr)
+static inline void __stl_u(unsigned long __val, unsigned int * __addr)
{
__asm__("usw\t%1, %0"
: "=m" (*__addr)
@@ -82,7 +82,7 @@
/*
* Store word ununaligned.
*/
-extern inline void __stw_u(unsigned long __val, unsigned short * __addr)
+static inline void __stw_u(unsigned long __val, unsigned short * __addr)
{
__asm__("ush\t%1, %0"
: "=m" (*__addr)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)