diff options
| author | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
| commit | ea4d65f14f6aaa53e379b93c5544245ef081b3e7 (patch) | |
| tree | a15485f4f1cf547a52b31fa8e16e14b9579b7200 /include/linux/compiler-intel.h | |
| parent | ce32d59ee2cd036f6e8a6ed17a06a0b0bec5c67c (diff) | |
| parent | 496f3347d834aec91c38b45d6249ed00f58ad233 (diff) | |
Merge branch 'perm-fix' into omap-for-v4.19/fixes-v2
Diffstat (limited to 'include/linux/compiler-intel.h')
| -rw-r--r-- | include/linux/compiler-intel.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/include/linux/compiler-intel.h b/include/linux/compiler-intel.h index 547cdc920a3c..4c7f9befa9f6 100644 --- a/include/linux/compiler-intel.h +++ b/include/linux/compiler-intel.h | |||
| @@ -14,10 +14,6 @@ | |||
| 14 | /* Intel ECC compiler doesn't support gcc specific asm stmts. | 14 | /* Intel ECC compiler doesn't support gcc specific asm stmts. |
| 15 | * It uses intrinsics to do the equivalent things. | 15 | * It uses intrinsics to do the equivalent things. |
| 16 | */ | 16 | */ |
| 17 | #undef barrier | ||
| 18 | #undef barrier_data | ||
| 19 | #undef RELOC_HIDE | ||
| 20 | #undef OPTIMIZER_HIDE_VAR | ||
| 21 | 17 | ||
| 22 | #define barrier() __memory_barrier() | 18 | #define barrier() __memory_barrier() |
| 23 | #define barrier_data(ptr) barrier() | 19 | #define barrier_data(ptr) barrier() |
| @@ -38,13 +34,12 @@ | |||
| 38 | 34 | ||
| 39 | #endif | 35 | #endif |
| 40 | 36 | ||
| 41 | #ifndef __HAVE_BUILTIN_BSWAP16__ | ||
| 42 | /* icc has this, but it's called _bswap16 */ | 37 | /* icc has this, but it's called _bswap16 */ |
| 43 | #define __HAVE_BUILTIN_BSWAP16__ | 38 | #define __HAVE_BUILTIN_BSWAP16__ |
| 44 | #define __builtin_bswap16 _bswap16 | 39 | #define __builtin_bswap16 _bswap16 |
| 45 | #endif | ||
| 46 | 40 | ||
| 47 | /* | 41 | /* The following are for compatibility with GCC, from compiler-gcc.h, |
| 48 | * icc defines __GNUC__, but does not implement the builtin overflow checkers. | 42 | * and may be redefined here because they should not be shared with other |
| 43 | * compilers, like clang. | ||
| 49 | */ | 44 | */ |
| 50 | #undef COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW | 45 | #define __visible __attribute__((externally_visible)) |
