home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / asm-m32r / byteorder.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  375 b   |  18 lines

  1. #ifndef _ASM_M32R_BYTEORDER_H
  2. #define _ASM_M32R_BYTEORDER_H
  3.  
  4. #include <asm/types.h>
  5.  
  6. #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
  7. #  define __BYTEORDER_HAS_U64__
  8. #  define __SWAB_64_THRU_32__
  9. #endif
  10.  
  11. #if defined(__LITTLE_ENDIAN__)
  12. #  include <linux/byteorder/little_endian.h>
  13. #else
  14. #  include <linux/byteorder/big_endian.h>
  15. #endif
  16.  
  17. #endif /* _ASM_M32R_BYTEORDER_H */
  18.