All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Jeff Dike <jdike@addtoit.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	uml-devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] [PATCH] UML - Fix irqstack crash
Date: Tue, 18 Sep 2007 17:07:33 -0700	[thread overview]
Message-ID: <20070918170733.c6399124.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070918233336.GA9746@c2.user-mode-linux.org>

On Tue, 18 Sep 2007 19:33:36 -0400
Jeff Dike <jdike@addtoit.com> wrote:

> ===================================================================
> --- linux-2.6.17.orig/arch/um/os-Linux/signal.c	2007-09-09 11:15:37.000000000 -0400
> +++ linux-2.6.17/arch/um/os-Linux/signal.c	2007-09-18 12:32:40.000000000 -0400
> @@ -119,7 +119,7 @@ void (*handlers[_NSIG])(int sig, struct 
>  
>  void handle_signal(int sig, struct sigcontext *sc)
>  {
> -	unsigned long pending = 0;
> +	unsigned long pending = 1 << sig;

You want 1UL there.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

WARNING: multiple messages have this Message-ID (diff)
From: Andrew Morton <akpm@linux-foundation.org>
To: Jeff Dike <jdike@addtoit.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	uml-devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [PATCH] UML - Fix irqstack crash
Date: Tue, 18 Sep 2007 17:07:33 -0700	[thread overview]
Message-ID: <20070918170733.c6399124.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070918233336.GA9746@c2.user-mode-linux.org>

On Tue, 18 Sep 2007 19:33:36 -0400
Jeff Dike <jdike@addtoit.com> wrote:

> ===================================================================
> --- linux-2.6.17.orig/arch/um/os-Linux/signal.c	2007-09-09 11:15:37.000000000 -0400
> +++ linux-2.6.17/arch/um/os-Linux/signal.c	2007-09-18 12:32:40.000000000 -0400
> @@ -119,7 +119,7 @@ void (*handlers[_NSIG])(int sig, struct 
>  
>  void handle_signal(int sig, struct sigcontext *sc)
>  {
> -	unsigned long pending = 0;
> +	unsigned long pending = 1 << sig;

You want 1UL there.

  reply	other threads:[~2007-09-19  0:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-18 23:33 [uml-devel] [PATCH] UML - Fix irqstack crash Jeff Dike
2007-09-18 23:33 ` Jeff Dike
2007-09-19  0:07 ` Andrew Morton [this message]
2007-09-19  0:07   ` Andrew Morton
2007-09-20 15:57   ` [uml-devel] " Paolo Giarrusso
2007-09-20 15:57     ` Paolo Giarrusso
2007-09-24 20:01     ` Jeff Dike
2007-09-24 20:01       ` Jeff Dike
2007-09-26 15:42       ` Paolo Giarrusso
2007-09-26 15:42         ` Paolo Giarrusso

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=20070918170733.c6399124.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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.