]> git.hungrycats.org Git - linux/commitdiff
[ARM] Fix missing spinlock initialisation.
authorRussell King <rmk@flint.arm.linux.org.uk>
Tue, 1 Jun 2004 21:42:35 +0000 (22:42 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Tue, 1 Jun 2004 21:42:35 +0000 (22:42 +0100)
arch/arm/mach-integrator/core.c

index 8f30c11515c28f2a156232e3af7bfac9291b05dc..01ce14d7004d30a06caa545023a84d2f71202e5b 100644 (file)
@@ -108,7 +108,7 @@ arch_initcall(integrator_init);
 
 #define CM_CTRL        IO_ADDRESS(INTEGRATOR_HDR_BASE) + INTEGRATOR_HDR_CTRL_OFFSET
 
-static spinlock_t cm_lock;
+static spinlock_t cm_lock = SPIN_LOCK_UNLOCKED;
 
 /**
  * cm_control - update the CM_CTRL register.