linux/arch/sh
Joakim Tjernlund b3b77c8cae endian: #define __BYTE_ORDER
Linux does not define __BYTE_ORDER in its endian header files which makes
some header files bend backwards to get at the current endian.  Lets
#define __BYTE_ORDER in big_endian.h/litte_endian.h to make it easier for
header files that are used in user space too.

In userspace the convention is that

  1. _both_ __LITTLE_ENDIAN and __BIG_ENDIAN are defined,
  2. you have to test for e.g. __BYTE_ORDER == __BIG_ENDIAN.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-05-25 08:07:02 -07:00
..
boards sh: disable SD-card write-protection detection on kfr2r09 2010-05-22 17:05:21 +09:00
boot sh: Fix zImage load address when CONFIG_32BIT=y 2010-04-25 20:44:23 +01:00
cchips
configs sh: fix up sh7785lcr_32bit_defconfig. 2010-05-24 08:33:53 +09:00
drivers sh: sh7751 pci controller io port fix 2010-04-26 16:02:25 +09:00
include sh: define DMA slaves per CPU type, remove now redundant header 2010-05-22 16:51:17 +09:00
kernel sh: fix up sh7786 dmaengine build. 2010-05-22 17:12:23 +09:00
lib arch/sh/lib/strlen.S: Checkpatch cleanup 2010-05-24 08:11:07 +09:00
lib64
math-emu endian: #define __BYTE_ORDER 2010-05-25 08:07:02 -07:00
mm sh: Fix up the NUMA build for recent LMB changes. 2010-05-18 18:15:44 +09:00
oprofile
tools
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 2010-05-19 11:36:03 -07:00
Kconfig.cpu
Kconfig.debug
Makefile sh: mach-sdk7786: update defconfig for compressed kernel image. 2010-04-26 17:45:34 +09:00