From: Al Viro <viro@ZenIV.linux.org.uk>
To: Kyle McMartin <kyle@mcmartin.ca>
Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
takata@linux-m32r.org, linux-m32r@ml.linux-m32r.org
Subject: Re: [PATCH 1/4] m32r: restore _BLOCKABLE
Date: Sat, 16 Oct 2010 02:41:58 +0100 [thread overview]
Message-ID: <20101016014158.GR19804@ZenIV.linux.org.uk> (raw)
In-Reply-To: <20101016011645.GS8332@bombadil.infradead.org>
On Fri, Oct 15, 2010 at 09:16:45PM -0400, Kyle McMartin wrote:
> Commit a7f8388e accidentally removed it...
>
> Signed-off-by: Kyle McMartin <kyle@redhat.com>
> ---
> arch/m32r/kernel/signal.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/m32r/kernel/signal.c b/arch/m32r/kernel/signal.c
> index 7bbe386..cc36fe1 100644
> --- a/arch/m32r/kernel/signal.c
> +++ b/arch/m32r/kernel/signal.c
> @@ -28,6 +28,8 @@
>
> #define DEBUG_SIG 0
>
> +#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
> +
Grrr... Sorry, reordering breakage. In the signals tree here I have
static inline void sig_set_blocked(struct sigset_t *set)
{
sigdelsetmask(set, sigmask(SIGKILL) | sigmask(SIGSTOP));
spin_lock_irq(¤t->sighand->siglock);
current->blocked = *set;
recalc_sigpending();
spin_unlock_irq(¤t->sighand->siglock);
}
and it's used all over the place (including quite a few places where
we currently have sigprocmask(SIG_SETMASK, set, NULL), which is what
it's equivalent to). With that done, m32r doesn't use _BLOCKABLE
anywhere, so it got removed. And that chunk got picked when I'd been
reordering the queue to pull the arch-specific fixes in front. Sorry.
next prev parent reply other threads:[~2010-10-16 1:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-16 1:09 [PATCH 0/4] m32r: build fixes Kyle McMartin
2010-10-16 1:16 ` [PATCH 1/4] m32r: restore _BLOCKABLE Kyle McMartin
2010-10-16 1:41 ` Al Viro [this message]
2010-10-16 1:17 ` [PATCH 2/4] m32r: get_user takes an lvalue, not a pointer Kyle McMartin
2010-10-16 1:44 ` Al Viro
2010-10-16 1:17 ` [PATCH 3/4] m32r: add kernel/.gitignore and ignore vmlinux.lds Kyle McMartin
2010-10-16 1:17 ` [PATCH 4/4] m32r: test __LITTLE_ENDIAN__ instead of __LITTLE_ENDIAN Kyle McMartin
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=20101016014158.GR19804@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=kyle@mcmartin.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m32r@ml.linux-m32r.org \
--cc=takata@linux-m32r.org \
--cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.