Re: [uml-devel] [PATCH] UML - Fix irqstack crash

2007-09-26 Thread Paolo Giarrusso
On lunedì 24 settembre 2007, Jeff Dike wrote: > On Thu, Sep 20, 2007 at 05:57:49PM +0200, Paolo Giarrusso wrote: > > Yes, indeed - or sign extension on 64bit machines would set to 1 the > > whole high-word. > > > > But using long for that mask makes no difference; either int or long > > long (or b

Re: [uml-devel] [PATCH] UML - Fix irqstack crash

2007-09-24 Thread Jeff Dike
On Thu, Sep 20, 2007 at 05:57:49PM +0200, Paolo Giarrusso wrote: > Yes, indeed - or sign extension on 64bit machines would set to 1 the whole > high-word. > > But using long for that mask makes no difference; either int or long > long (or better, either u32 or u64) should be used, given that the

Re: [uml-devel] [PATCH] UML - Fix irqstack crash

2007-09-20 Thread Paolo Giarrusso
On mercoledì 19 settembre 2007, Andrew Morton wrote: > On Tue, 18 Sep 2007 19:33:36 -0400 > Jeff Dike <[EMAIL PROTECTED]> wrote: > > === > > --- linux-2.6.17.orig/arch/um/os-Linux/signal.c 2007-09-09 > > 11:15:37.0 -0400 +

Re: [uml-devel] [PATCH] UML - Fix irqstack crash

2007-09-18 Thread Andrew Morton
On Tue, 18 Sep 2007 19:33:36 -0400 Jeff Dike <[EMAIL PROTECTED]> wrote: > === > --- linux-2.6.17.orig/arch/um/os-Linux/signal.c 2007-09-09 > 11:15:37.0 -0400 > +++ linux-2.6.17/arch/um/os-Linux/signal.c2007-09-18 12

[uml-devel] [PATCH] UML - Fix irqstack crash

2007-09-18 Thread Jeff Dike
This patch fixes a crash caused by an interrupt coming in when an IRQ stack is being torn down. When this happens, handle_signal will loop, setting up the IRQ stack again because the tearing down had finished, and handling whatever signals had come in. However, to_irq_stack returns a mask of pend