diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-02-17 21:22:55 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-02-18 22:52:32 -0500 |
commit | 087d8c7d0cc8a79e6bd6223f9b0018483124e769 (patch) | |
tree | 7b0719010305512fcf811c9e11d28f314d907d79 /arch/powerpc/platforms/powermac/feature.c | |
parent | 47e3c9046bc884d4f727df00f0b6ec73fa387e50 (diff) |
powerpc: Convert feature_lock to raw_spinlock
feature_lock needs to be a real spinlock in RT. Convert it to
raw_spinlock.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac/feature.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/feature.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/powermac/feature.c b/arch/powerpc/platforms/powermac/feature.c index fbc9bbd74dbd..424b633fbe0d 100644 --- a/arch/powerpc/platforms/powermac/feature.c +++ b/arch/powerpc/platforms/powermac/feature.c | |||
@@ -59,10 +59,10 @@ extern struct device_node *k2_skiplist[2]; | |||
59 | * We use a single global lock to protect accesses. Each driver has | 59 | * We use a single global lock to protect accesses. Each driver has |
60 | * to take care of its own locking | 60 | * to take care of its own locking |
61 | */ | 61 | */ |
62 | DEFINE_SPINLOCK(feature_lock); | 62 | DEFINE_RAW_SPINLOCK(feature_lock); |
63 | 63 | ||
64 | #define LOCK(flags) spin_lock_irqsave(&feature_lock, flags); | 64 | #define LOCK(flags) raw_spin_lock_irqsave(&feature_lock, flags); |
65 | #define UNLOCK(flags) spin_unlock_irqrestore(&feature_lock, flags); | 65 | #define UNLOCK(flags) raw_spin_unlock_irqrestore(&feature_lock, flags); |
66 | 66 | ||
67 | 67 | ||
68 | /* | 68 | /* |