From: Andi Kleen <andi@firstfloor.org>
To: linux-kernel@vger.kernel.org, srinivasa@in.ibm.com
Cc: akpm@osdl.org
Subject: [PATCH] Update NSIGTRAP in asm-generic/siginfo.h
Date: Sat, 4 Apr 2009 19:38:49 +0200 [thread overview]
Message-ID: <20090404173849.GA2040@basil> (raw)
Update NSIGTRAP in asm-generic/siginfo.h
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>
---
include/asm-generic/siginfo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.29-ak/include/asm-generic/siginfo.h
===================================================================
--- linux-2.6.29-ak.orig/include/asm-generic/siginfo.h 2008-10-24 13:34:57.000000000 +0200
+++ linux-2.6.29-ak/include/asm-generic/siginfo.h 2009-04-04 19:35:23.000000000 +0200
@@ -201,7 +201,7 @@
#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
reply other threads:[~2009-04-04 17:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090404173849.GA2040@basil \
--to=andi@firstfloor.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=srinivasa@in.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox