Root/
1 | #ifndef __LINUX_COMPILER_H |
2 | #error "Please don't include <linux/compiler-intel.h> directly, include <linux/compiler.h> instead." |
3 | #endif |
4 | |
5 | #ifdef __ECC |
6 | |
7 | /* Some compiler specific definitions are overwritten here |
8 | * for Intel ECC compiler |
9 | */ |
10 | |
11 | #include <asm/intrinsics.h> |
12 | |
13 | /* Intel ECC compiler doesn't support gcc specific asm stmts. |
14 | * It uses intrinsics to do the equivalent things. |
15 | */ |
16 | #undef barrier |
17 | #undef RELOC_HIDE |
18 | |
19 | #define barrier() __memory_barrier() |
20 | |
21 | #define RELOC_HIDE(ptr, off) \ |
22 | ({ unsigned long __ptr; \ |
23 | __ptr = (unsigned long) (ptr); \ |
24 | (typeof(ptr)) (__ptr + (off)); }) |
25 | |
26 | /* Intel ECC compiler doesn't support __builtin_types_compatible_p() */ |
27 | #define __must_be_array(a) 0 |
28 | |
29 | #endif |
30 | |
31 | #ifndef __HAVE_BUILTIN_BSWAP16__ |
32 | /* icc has this, but it's called _bswap16 */ |
33 | #define __HAVE_BUILTIN_BSWAP16__ |
34 | #define __builtin_bswap16 _bswap16 |
35 | #endif |
36 | |
37 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9