patch-2.4.19 linux-2.4.19/include/asm-mips64/unaligned.h
Next file: linux-2.4.19/include/asm-mips64/unistd.h
Previous file: linux-2.4.19/include/asm-mips64/uaccess.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-mips64/unaligned.h
- Orig date:
Wed Jul 4 11:50:39 2001
diff -urN linux-2.4.18/include/asm-mips64/unaligned.h linux-2.4.19/include/asm-mips64/unaligned.h
@@ -15,7 +15,7 @@
/*
* Load quad unaligned.
*/
-extern inline unsigned long __ldq_u(const unsigned long * __addr)
+static inline unsigned long __ldq_u(const unsigned long * __addr)
{
unsigned long __res;
@@ -29,7 +29,7 @@
/*
* Load long unaligned.
*/
-extern inline unsigned long __ldl_u(const unsigned int * __addr)
+static inline unsigned long __ldl_u(const unsigned int * __addr)
{
unsigned long __res;
@@ -43,7 +43,7 @@
/*
* Load word unaligned.
*/
-extern inline unsigned long __ldw_u(const unsigned short * __addr)
+static inline unsigned long __ldw_u(const unsigned short * __addr)
{
unsigned long __res;
@@ -57,7 +57,7 @@
/*
* Store quad ununaligned.
*/
-extern inline void __stq_u(unsigned long __val, unsigned long * __addr)
+static inline void __stq_u(unsigned long __val, unsigned long * __addr)
{
__asm__("usd\t%1, %0"
: "=m" (*__addr)
@@ -67,7 +67,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)
@@ -77,7 +77,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)