lguest: fix sense if IF flag on interrupt injection
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 20 Jul 2007 12:11:13 +0000 (22:11 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 20 Jul 2007 16:05:16 +0000 (09:05 -0700)
The sense of the IF bit is backwards in the host interrupt handling.

This means we always save "IF=1" on the stack when injecting an
interrupt.  It turns out this is almost always correct (unless the
guest is taking a page fault in an interrupt due to an unpopulated
vmalloc mapping), so went unnoticed.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found