summaryrefslogtreecommitdiff
path: root/include/asm-generic/siginfo.h
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2009-04-13 14:39:56 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-13 15:04:30 -0700
commit0769c2981495c3d05429840d6fc7a1b5e26accaa (patch)
tree6ac81e26e1b54e23c1fdbc994950df0ff7e3dcce /include/asm-generic/siginfo.h
parent0efb2a03af7eddadb4d0db5f855b1614ba9b0a00 (diff)
downloadlinux-3.10-0769c2981495c3d05429840d6fc7a1b5e26accaa.tar.gz
linux-3.10-0769c2981495c3d05429840d6fc7a1b5e26accaa.tar.bz2
linux-3.10-0769c2981495c3d05429840d6fc7a1b5e26accaa.zip
asm-generic/siginfo.h: update NSIGTRAP definition
Impact: (nearly) trivial The patch commit da654b74bda14c45a7d98c731bf3c1a43b6b74e2 Author: Srinivasa Ds <srinivasa@in.ibm.com> Date: Tue Sep 23 15:23:52 2008 +0530 signals: demultiplexing SIGTRAP signal forgot to update the NSIGTRAP define in asm-generic/siginfo.h to the new number of sigtrap subcodes. Nothing in the tree seems to use it, but presumably something in user space might. So update it. Cc: Srinivasa Ds <srinivasa@in.ibm.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/siginfo.h')
-rw-r--r--include/asm-generic/siginfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/siginfo.h b/include/asm-generic/siginfo.h
index 35752dadd6d..c840719a8c5 100644
--- a/include/asm-generic/siginfo.h
+++ b/include/asm-generic/siginfo.h
@@ -201,7 +201,7 @@ typedef struct siginfo {
#define TRAP_TRACE (__SI_FAULT|2) /* process trace trap */
#define TRAP_BRANCH (__SI_FAULT|3) /* process taken branch trap */
#define TRAP_HWBKPT (__SI_FAULT|4) /* hardware breakpoint/watchpoint */
-#define NSIGTRAP 2
+#define NSIGTRAP 4
/*
* SIGCHLD si_codes