mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: torvalds@osdl.org, akpm@osdl.org, axboe@suse.de
Cc: dhowells@redhat.com, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] BLOCK: Fix linux/compat.h's use sigset_t
Date: Mon, 02 Oct 2006 14:12:34 +0100	[thread overview]
Message-ID: <20061002131234.19879.34671.stgit@warthog.cambridge.redhat.com> (raw)
In-Reply-To: <20061002131231.19879.19860.stgit@warthog.cambridge.redhat.com>

From: David Howells <dhowells@redhat.com>

Make linux/compat.h #include asm/signal.h to gain a definition of sigset_t so
that it can externally declare sigset_from_compat().

This has been compile-tested for i386, x86_64, ia64, mips, mips64, frv, ppc and
ppc64 and run-tested on frv.

Signed-Off-By: David Howells <dhowells@redhat.com>
---

 include/linux/compat.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/compat.h b/include/linux/compat.h
index 967e748..ef5cd19 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -13,6 +13,7 @@ #include <linux/sem.h>
 
 #include <asm/compat.h>
 #include <asm/siginfo.h>
+#include <asm/signal.h>
 
 #define compat_jiffies_to_clock_t(x)	\
 		(((unsigned long)(x) * COMPAT_USER_HZ) / HZ)

  reply	other threads:[~2006-10-02 13:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-02 13:12 [PATCH 1/2] BLOCK: Revert patch to hack around undeclared sigset_t in linux/compat.h David Howells
2006-10-02 13:12 ` David Howells [this message]
2006-10-02 16:51   ` [PATCH 2/2] BLOCK: Fix linux/compat.h's use sigset_t Jens Axboe
2006-10-02 17:05     ` Linus Torvalds
2006-10-02 17:49       ` Jens Axboe
2006-10-02 20:40       ` Olaf Hering
2006-10-02 21:00         ` Linus Torvalds
2006-10-02 21:28           ` Linus Torvalds

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=20061002131234.19879.34671.stgit@warthog.cambridge.redhat.com \
    --to=dhowells@redhat.com \
    --cc=akpm@osdl.org \
    --cc=axboe@suse.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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

Powered by JetHome