summaryrefslogtreecommitdiff
path: root/include/linux/compiler-intel.h
blob: d8e636e5607d78c40f75043b7dca312fc3c0748a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __LINUX_COMPILER_H
#error "Please don't include <linux/compiler-intel.h> directly, include <linux/compiler.h> instead."
#endif

#ifdef __ECC

/* Some compiler specific definitions are overwritten here
 * for Intel ECC compiler
 */

#include <asm/intrinsics.h>

/* Intel ECC compiler doesn't support gcc specific asm stmts.
 * It uses intrinsics to do the equivalent things.
 */
#undef barrier
#undef RELOC_HIDE

#define barrier() __memory_barrier()

#define RELOC_HIDE(ptr, off)					\
  ({ unsigned long __ptr;					\
     __ptr = (unsigned long) (ptr);				\
    (typeof(ptr)) (__ptr + (off)); })

/* Intel ECC compiler doesn't support __builtin_types_compatible_p() */
#define __must_be_array(a) 0

#endif

#define uninitialized_var(x) x
-07-26 11:43:43 +1000'>2010-07-26drm/nouveau: Get rid of the remaining VGA CRTC locking.Francisco Jerez 2010-07-26drm/nouveau: Put back the old 2-messages I2C slave test.Francisco Jerez 2010-07-26drm/nouveau: Add some generic I2C gadget detection code.Francisco Jerez 2010-05-19drm/nv50: fix monitor detection on certain chipsetsBen Skeggs 2010-02-25drm/nouveau: merge nvbios and nouveau_bios_infoBen Skeggs 2010-02-25drm/nouveau: merge parsed_dcb and bios_parsed_dcb into dcb_tableBen Skeggs 2010-02-25drm/nouveau: fix nouveau_i2c_find bounds checkingMarcin Slusarz 2009-12-11drm/nouveau: Add DRM driver for NVIDIA GPUsBen Skeggs