File 19176-free-irq-shutdown-fix.patch of Package xen
# HG changeset patch
# User Keir Fraser <keir.fraser@citrix.com>
# Date 1234436887 0
# Node ID fcdc7b070b33d547bd913440c962ccd6565bda6d
# Parent 32716b42aac9db600313add3d4cb48551f9b11d1
x86: ->shutdown() in free_irq() should be passed vector, not irq.
Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
xen-unstable changeset: 19176:9dacc372215970bc822843b99fbc9be41572f8c5
xen-unstable date: Fri Feb 06 10:39:10 2009 +0000
Index: xen-3.3.1-testing/xen/arch/x86/irq.c
===================================================================
--- xen-3.3.1-testing.orig/xen/arch/x86/irq.c
+++ xen-3.3.1-testing/xen/arch/x86/irq.c
@@ -147,7 +147,7 @@ void free_irq(unsigned int irq)
desc->action = NULL;
desc->depth = 1;
desc->status |= IRQ_DISABLED;
- desc->handler->shutdown(irq);
+ desc->handler->shutdown(vector);
spin_unlock_irqrestore(&desc->lock,flags);
/* Wait to make sure it's not being used on another CPU */