patch-2.4.22 linux-2.4.22/include/asm-cris/byteorder.h
Next file: linux-2.4.22/include/asm-cris/delay.h
Previous file: linux-2.4.22/include/asm-cris/bugs.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-cris/byteorder.h
- Orig date:
2003-06-13 07:51:38.000000000 -0700
diff -urN linux-2.4.21/include/asm-cris/byteorder.h linux-2.4.22/include/asm-cris/byteorder.h
@@ -1,5 +1,3 @@
-/* $Id: byteorder.h,v 1.2 2002/11/20 18:20:17 hp Exp $ */
-
#ifndef _CRIS_BYTEORDER_H
#define _CRIS_BYTEORDER_H
@@ -15,14 +13,14 @@
extern __inline__ __const__ __u32 ___arch__swab32(__u32 x)
{
__asm__ ("swapwb %0" : "=r" (x) : "0" (x));
-
+
return(x);
}
extern __inline__ __const__ __u16 ___arch__swab16(__u16 x)
{
__asm__ ("swapb %0" : "=r" (x) : "0" (x));
-
+
return(x);
}
@@ -43,5 +41,3 @@
#include <linux/byteorder/little_endian.h>
#endif
-
-
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)