From: Jorgen Lundman Date: Sat, 28 Apr 2012 06:29:25 +0000 (+0000) Subject: Define the needed ISA types for ARM X-Git-Tag: debian/0.7.9-2~190^2~9 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=cb75844e859f1b97294f53e8370d8e5110b14779;p=mirror_spl-debian.git Define the needed ISA types for ARM Add the minimum required ISA types to support the ARM architecture. Signed-off-by: Brian Behlendorf --- diff --git a/include/sys/isa_defs.h b/include/sys/isa_defs.h index 10c0e0d..02136c5 100644 --- a/include/sys/isa_defs.h +++ b/include/sys/isa_defs.h @@ -74,7 +74,24 @@ #define _LP64 #endif -#else /* Currently only x86_64, i386, and powerpc arches supported */ +/* arm arch specific defines */ +#elif defined(__arm) || defined(__arm__) + +#if !defined(__arm) +#define __arm +#endif + +#if !defined(__arm__) +#define __arm__ +#endif + +#if defined(__ARMEL__) +#define _LITTLE_ENDIAN +#else +#define _BIG_ENDIAN +#endif + +#else /* Currently only x86_64, i386, arm, and powerpc arches supported */ #error "Unsupported ISA type" #endif