]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/compiler-intel.h
1 #ifndef __LINUX_COMPILER_H
2 #error "Please don't include <linux/compiler-intel.h> directly, include <linux/compiler.h> instead."
7 /* Some compiler specific definitions are overwritten here
8 * for Intel ECC compiler
11 #include <asm/intrinsics.h>
13 /* Intel ECC compiler doesn't support gcc specific asm stmts.
14 * It uses intrinsics to do the equivalent things.
19 #define barrier() __memory_barrier()
21 #define RELOC_HIDE(ptr, off) \
22 ({ unsigned long __ptr; \
23 __ptr = (unsigned long) (ptr); \
24 (typeof(ptr)) (__ptr + (off)); })
26 /* Intel ECC compiler doesn't support __builtin_types_compatible_p() */
27 #define __must_be_array(a) 0
31 #define uninitialized_var(x) x
33 #ifndef __HAVE_BUILTIN_BSWAP16__
34 /* icc has this, but it's called _bswap16 */
35 #define __HAVE_BUILTIN_BSWAP16__
36 #define __builtin_bswap16 _bswap16