IRQ: add __must_check to request_irq
[linux-2.6/openmoko-kernel.git] / include / linux / compiler-intel.h
blobb769961e6f2371090a1bfe94b751afc4ab0306b7
1 /* Never include this file directly. Include <linux/compiler.h> instead. */
3 #ifdef __ECC
5 /* Some compiler specific definitions are overwritten here
6 * for Intel ECC compiler
7 */
9 #include <asm/intrinsics.h>
11 /* Intel ECC compiler doesn't support gcc specific asm stmts.
12 * It uses intrinsics to do the equivalent things.
14 #undef barrier
15 #undef RELOC_HIDE
17 #define barrier() __memory_barrier()
19 #define RELOC_HIDE(ptr, off) \
20 ({ unsigned long __ptr; \
21 __ptr = (unsigned long) (ptr); \
22 (typeof(ptr)) (__ptr + (off)); })
24 /* Intel ECC compiler doesn't support __builtin_types_compatible_p() */
25 #define __must_be_array(a) 0
27 #endif
29 #define uninitialized_var(x) x