]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commite5faff45b381e053c31214713ed783d97f49177b
tree0a2b906f9f087b33e4ca9cb892f35f649ab67fb6
parentbd6dc742a4b1945861795a66dc27c65365c5f28e
lguest: fix sense if IF flag on interrupt injection

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>
drivers/lguest/interrupts_and_traps.c