aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/math-emu/sfp-util_32.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-06-26 10:27:00 -0700
committerDavid S. Miller <davem@davemloft.net>2010-06-26 10:27:00 -0700
commitc67dda14389205f0a223c5089307495290939b3b (patch)
treefad0bb26b28703d02a22ebdd44d94eabac4a2ade /arch/sparc/math-emu/sfp-util_32.h
parentsparc64: fix the build error due to smp_kgdb_capture_client() (diff)
parentLinux 2.6.35-rc3 (diff)
downloadlinux-dev-c67dda14389205f0a223c5089307495290939b3b.tar.xz
linux-dev-c67dda14389205f0a223c5089307495290939b3b.zip
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
Diffstat (limited to 'arch/sparc/math-emu/sfp-util_32.h')
-rw-r--r--arch/sparc/math-emu/sfp-util_32.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc/math-emu/sfp-util_32.h b/arch/sparc/math-emu/sfp-util_32.h
index 0ea35afbb914..d1b2aff3c259 100644
--- a/arch/sparc/math-emu/sfp-util_32.h
+++ b/arch/sparc/math-emu/sfp-util_32.h
@@ -107,3 +107,9 @@
#define abort() \
return 0
+
+#ifdef __BIG_ENDIAN
+#define __BYTE_ORDER __BIG_ENDIAN
+#else
+#define __BYTE_ORDER __LITTLE_ENDIAN
+#endif