mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Linus <torvalds@transmeta.com>
Cc: LKML <linux-kernel@vger.kernel.org>, george anzinger <george@mvista.com>
Subject: [PATCH] fix __SI_CODE
Date: Thu, 10 Oct 2002 12:38:22 +1000	[thread overview]
Message-ID: <20021010123822.64c9bbc1.sfr@canb.auug.org.au> (raw)

Hi Linus,

This small patch is extracted from George Anzinger's High-res-timer
patches.  Even if George's patches do not go in, this patch is necessary
to fix up something I missed when I consolidated the siginfo stuff.

Thanks, George.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.5.41-1.715/include/asm-generic/siginfo.h 2.5.41-1.715-si.2/include/asm-generic/siginfo.h
--- 2.5.41-1.715/include/asm-generic/siginfo.h	2002-06-09 16:12:33.000000000 +1000
+++ 2.5.41-1.715-si.2/include/asm-generic/siginfo.h	2002-10-10 12:26:46.000000000 +1000
@@ -91,7 +91,7 @@
 #define __SI_FAULT	(3 << 16)
 #define __SI_CHLD	(4 << 16)
 #define __SI_RT		(5 << 16)
-#define __SI_CODE(T,N)	((T) << 16 | ((N) & 0xffff))
+#define __SI_CODE(T,N)	((T) | ((N) & 0xffff))
 #else
 #define __SI_KILL	0
 #define __SI_TIMER	0

             reply	other threads:[~2002-10-10  2:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-10  2:38 Stephen Rothwell [this message]
2002-10-10  3:37 ` george anzinger

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=20021010123822.64c9bbc1.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=george@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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

all inboxes | Powered by JetHome®