android_kernel_xiaomi_sm8350/arch/s390
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
..
appldata include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
boot [S390] fix boot failures with compressed kernels 2010-03-24 11:49:54 +01:00
crypto include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hypfs [S390] s390_hypfs: Add new attributes 2010-05-17 10:00:17 +02:00
include/asm endian: #define __BYTE_ORDER 2010-05-25 08:07:02 -07:00
kernel sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
kvm Merge branch 'kvm-updates/2.6.35' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2010-05-21 17:16:21 -07:00
lib [S390] uaccess: make sure copy_from_user_overflow is builtin 2010-03-08 12:25:29 +01:00
math-emu
mm [S390] debug: enable exception-trace debug facility 2010-05-17 10:00:17 +02:00
oprofile
defconfig [S390] Update default configuration. 2010-04-09 13:43:02 +02:00
Kconfig [S390] debug: enable exception-trace debug facility 2010-05-17 10:00:17 +02:00
Kconfig.debug [S390] uaccess: implement strict user copy checks 2010-02-26 22:37:29 +01:00
Makefile [S390] vdso: add missing vdso_install target 2010-05-17 10:00:16 +02:00