~ubuntu-branches/ubuntu/wily/spl-linux/wily

« back to all changes in this revision

Viewing changes to include/sys/isa_defs.h

  • Committer: Package Import Robot
  • Author(s): Liang Guo
  • Date: 2014-07-31 15:16:53 UTC
  • Revision ID: package-import@ubuntu.com-20140731151653-tgao12alohj26jcs
Tags: upstream-0.6.3+git20140731
ImportĀ upstreamĀ versionĀ 0.6.3+git20140731

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
#endif
76
76
 
77
77
/* arm arch specific defines */
78
 
#elif defined(__arm) || defined(__arm__)
 
78
#elif defined(__arm) || defined(__arm__) || defined(__aarch64__)
79
79
 
80
80
#if !defined(__arm)
81
81
#define __arm
85
85
#define __arm__
86
86
#endif
87
87
 
88
 
#if defined(__ARMEL__)
 
88
#if defined(__ARMEL__) || defined(__AARCH64EL__)
89
89
#define _LITTLE_ENDIAN
90
90
#else
91
91
#define _BIG_ENDIAN
92
92
#endif
93
93
 
94
 
#else /* Currently only x86_64, i386, arm, and powerpc arches supported */
 
94
/* sparc arch specific defines */
 
95
#elif defined(__sparc) || defined(__sparc__)
 
96
 
 
97
#if !defined(__sparc)
 
98
#define __sparc
 
99
#endif
 
100
 
 
101
#if !defined(__sparc__)
 
102
#define __sparc__
 
103
#endif
 
104
 
 
105
#define _BIG_ENDIAN
 
106
#define _SUNOS_VTOC_16
 
107
 
 
108
/* sparc64 arch specific defines */
 
109
#elif defined(__sparc64) || defined(__sparc64__)
 
110
 
 
111
#if !defined(__sparc64)
 
112
#define __sparc64
 
113
#endif
 
114
 
 
115
#if !defined(__sparc64__)
 
116
#define __sparc64__
 
117
#endif
 
118
 
 
119
#define _BIG_ENDIAN
 
120
#define _SUNOS_VTOC_16
 
121
 
 
122
#else /* Currently x86_64, i386, arm, powerpc, and sparc are supported */
95
123
#error "Unsupported ISA type"
96
124
#endif
97
125