* [PATCH] x86 uv: define uv_irq_lock
@ 2012-01-18 17:10 Dimitri Sivanich
0 siblings, 0 replies; only message in thread
From: Dimitri Sivanich @ 2012-01-18 17:10 UTC (permalink / raw)
To: linux-kernel; +Cc: Ingo Molnar, H. Peter Anvin, Thomas Gleixner, x86
Properly define/initialize the uv_irq_lock.
Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
---
arch/x86/platform/uv/uv_irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/arch/x86/platform/uv/uv_irq.c
===================================================================
--- linux.orig/arch/x86/platform/uv/uv_irq.c
+++ linux/arch/x86/platform/uv/uv_irq.c
@@ -25,7 +25,7 @@ struct uv_irq_2_mmr_pnode{
int irq;
};
-static spinlock_t uv_irq_lock;
+static DEFINE_SPINLOCK(uv_irq_lock);
static struct rb_root uv_irq_root;
static int uv_set_irq_affinity(struct irq_data *, const struct cpumask *, bool);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-18 17:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-18 17:10 [PATCH] x86 uv: define uv_irq_lock Dimitri Sivanich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox