x86: Assert in_irq() while processing guest-bound interrupts.

Actually a fair amount of infrastructure is onvolved these days, and
we'd like subsystems we call into know that we're in IRQ context so
they can handle that or BUG/ASSERT if appropriate.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2008-08-27 10:11:33 +01:00
1 parent b1813844dc
commit bb2f3a7002
1 file changed
+2
+2
View File
@@ -63,7 +63,9 @@ asmlinkage void do_IRQ(struct cpu_user_regs *regs)
if ( likely(desc->status & IRQ_GUEST) )
{
irq_enter();
__do_IRQ_guest(vector);
irq_exit();
spin_unlock(&desc->lock);
return;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.