swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: 826eeb53a6f264842200d3311d69107d2eb25f5e authored by Linus Torvalds on 03 February 2006, 06:03:08 UTC
Linux v2.6.16-rc2
Tip revision: 826eeb5
compiler-intel.h
/* Never include this file directly.  Include <linux/compiler.h> instead.  */

#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)); })

#endif
back to top