summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/siginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc/siginfo.h')
-rw-r--r--include/asm-parisc/siginfo.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-parisc/siginfo.h b/include/asm-parisc/siginfo.h
new file mode 100644
index 00000000000..d4909f55fe3
--- /dev/null
+++ b/include/asm-parisc/siginfo.h
@@ -0,0 +1,14 @@
+#ifndef _PARISC_SIGINFO_H
+#define _PARISC_SIGINFO_H
+
+#include <asm-generic/siginfo.h>
+
+/*
+ * SIGTRAP si_codes
+ */
+#define TRAP_BRANCH (__SI_FAULT|3) /* process taken branch trap */
+#define TRAP_HWBKPT (__SI_FAULT|4) /* hardware breakpoint or watchpoint */
+#undef NSIGTRAP
+#define NSIGTRAP 4
+
+#endif