From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Andrew Morton <akpm@osdl.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] noone uses HAVE_ARCH_SI_CODES or HAVE_ARCH_SIGEVENT_T
Date: Mon, 6 Dec 2004 11:37:29 +1100 [thread overview]
Message-ID: <20041206113729.6b112aed.sfr@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 1399 bytes --]
Since asm-generic/siginfo.h was created, the architectures have been
slowly fixed/modified until noone uses HAVE_ARCH_SI_CODES or
HAVE_ARCH_SIGEVENT_T any more, so this patch removes the checks for them.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
diff -ruN 2.6.10-rc3/include/asm-generic/siginfo.h 2.6.10-rc3.si_codes/include/asm-generic/siginfo.h
--- 2.6.10-rc3/include/asm-generic/siginfo.h 2004-10-19 10:46:57.000000000 +1000
+++ 2.6.10-rc3.si_codes/include/asm-generic/siginfo.h 2004-12-04 23:53:01.000000000 +1100
@@ -154,7 +154,6 @@
#define SI_FROMUSER(siptr) ((siptr)->si_code <= 0)
#define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0)
-#ifndef HAVE_ARCH_SI_CODES
/*
* SIGILL si_codes
*/
@@ -225,8 +224,6 @@
#define POLL_HUP (__SI_POLL|6) /* device disconnected */
#define NSIGPOLL 6
-#endif
-
/*
* sigevent definitions
*
@@ -245,8 +242,6 @@
#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 3)
#endif
-#ifndef HAVE_ARCH_SIGEVENT_T
-
typedef struct sigevent {
sigval_t sigev_value;
int sigev_signo;
@@ -262,8 +257,6 @@
} _sigev_un;
} sigevent_t;
-#endif
-
#define sigev_notify_function _sigev_un._sigev_thread._function
#define sigev_notify_attributes _sigev_un._sigev_thread._attribute
#define sigev_notify_thread_id _sigev_un._tid
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
reply other threads:[~2004-12-06 0:37 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=20041206113729.6b112aed.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/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®