summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/intel_intrin.h
diff options
context:
space:
mode:
authorChen, Kenneth W <kenneth.w.chen@intel.com>2006-01-26 17:12:02 -0800
committerTony Luck <tony.luck@intel.com>2006-02-07 08:49:10 -0800
commit9df79decc395b2f9484ff93a1383ba705ff34b10 (patch)
treeea8e32bbb84250f49965a549792741b436c57188 /include/asm-ia64/intel_intrin.h
parentc583f66dc41cfa4055b6ac8f50cc1ebf362298f7 (diff)
[IA64] add __builtin_trap definition for icc build
Map __builtin_trap function to break 0 instruction. Signed-off-by: HJ Lu <hongjiu.lu@intel.com> Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64/intel_intrin.h')
-rw-r--r--include/asm-ia64/intel_intrin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ia64/intel_intrin.h b/include/asm-ia64/intel_intrin.h
index c7ac04945c1..67a4bafdc30 100644
--- a/include/asm-ia64/intel_intrin.h
+++ b/include/asm-ia64/intel_intrin.h
@@ -152,4 +152,6 @@ do { \
} \
} while (0)
+#define __builtin_trap() __break(0);
+
#endif /* _ASM_IA64_INTEL_INTRIN_H */