|
|
| File: [Development] / linux-2.6-xfs / include / asm-cris / byteorder.h (download)
Revision 1.2, Tue Oct 31 15:49:12 2006 UTC (10 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Merge up to 2.6.19-rc3 Merge of 2.6.x-xfs-melb:linux:27325b by kenmcd. |
#ifndef _CRIS_BYTEORDER_H #define _CRIS_BYTEORDER_H #ifdef __GNUC__ #ifdef __KERNEL__ #include <asm/arch/byteorder.h> /* defines are necessary because the other files detect the presence * of a defined __arch_swab32, not an inline */ #define __arch__swab32(x) ___arch__swab32(x) #define __arch__swab16(x) ___arch__swab16(x) #endif /* __KERNEL__ */ #if !defined(__STRICT_ANSI__) || defined(__KERNEL__) # define __BYTEORDER_HAS_U64__ # define __SWAB_64_THRU_32__ #endif #endif /* __GNUC__ */ #include <linux/byteorder/little_endian.h> #endif