aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/i8259.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-06-01 21:49:25 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-06-01 21:49:25 +0100
commit8cd06eb3230a77ab567a4ebf4ba5876980c8f9e4 (patch)
treea74905c4d676b252407c302e080969e557641034 /xen/arch/x86/i8259.c
parent6af99de37cd929601c69ed3232d4411b8564b8fd (diff)
downloadxen-8cd06eb3230a77ab567a4ebf4ba5876980c8f9e4.tar.gz
xen-8cd06eb3230a77ab567a4ebf4ba5876980c8f9e4.tar.bz2
xen-8cd06eb3230a77ab567a4ebf4ba5876980c8f9e4.zip
Use DEFINE_SPINLOCK consistently throughout Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/i8259.c')
-rw-r--r--xen/arch/x86/i8259.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/i8259.c b/xen/arch/x86/i8259.c
index 17bab16f9c..76c47b5592 100644
--- a/xen/arch/x86/i8259.c
+++ b/xen/arch/x86/i8259.c
@@ -102,7 +102,7 @@ BUILD_SMP_INTERRUPT(thermal_interrupt,THERMAL_APIC_VECTOR)
* moves to arch independent land
*/
-spinlock_t i8259A_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(i8259A_lock);
static void disable_8259A_vector(unsigned int vector)
{