]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/blobdiff - arch/powerpc/platforms/powermac/feature.c
powerpc: Convert feature_lock to raw_spinlock
[lisovros/linux_canprio.git] / arch / powerpc / platforms / powermac / feature.c
index fbc9bbd74dbdc9337ca2880f1d50a590d8f9f3a1..424b633fbe0dba4a61cca1658bc6d31dc9d6bf28 100644 (file)
@@ -59,10 +59,10 @@ extern struct device_node *k2_skiplist[2];
  * We use a single global lock to protect accesses. Each driver has
  * to take care of its own locking
  */
-DEFINE_SPINLOCK(feature_lock);
+DEFINE_RAW_SPINLOCK(feature_lock);
 
-#define LOCK(flags)    spin_lock_irqsave(&feature_lock, flags);
-#define UNLOCK(flags)  spin_unlock_irqrestore(&feature_lock, flags);
+#define LOCK(flags)    raw_spin_lock_irqsave(&feature_lock, flags);
+#define UNLOCK(flags)  raw_spin_unlock_irqrestore(&feature_lock, flags);
 
 
 /*