summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen, Kenneth W <kenneth.w.chen@intel.com>2006-01-27 01:12:02 (GMT)
committerTony Luck <tony.luck@intel.com>2006-02-07 16:49:10 (GMT)
commit9df79decc395b2f9484ff93a1383ba705ff34b10 (patch)
treeea8e32bbb84250f49965a549792741b436c57188
parentc583f66dc41cfa4055b6ac8f50cc1ebf362298f7 (diff)
downloadlinux-9df79decc395b2f9484ff93a1383ba705ff34b10.tar.xz
[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>
-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 c7ac049..67a4baf 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 */