* [PATCH 2.6.23-rc2-rt2] ARM: use raw lock in __new_context
@ 2007-08-31 3:08 Kevin Hilman
0 siblings, 0 replies; only message in thread
From: Kevin Hilman @ 2007-08-31 3:08 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner; +Cc: LKML, RT-Users
The ARM CPU ASID lock should be raw as it's used by schedule() when
creating a new context.
Signed-off-by: Kevin Hilman <khilman@mvista.com>
--- dev.orig/arch/arm/mm/context.c
+++ dev/arch/arm/mm/context.c
@@ -14,7 +14,7 @@
#include <asm/mmu_context.h>
#include <asm/tlbflush.h>
-static DEFINE_SPINLOCK(cpu_asid_lock);
+static DEFINE_RAW_SPINLOCK(cpu_asid_lock);
unsigned int cpu_last_asid = ASID_FIRST_VERSION;
/*
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-31 3:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-31 3:08 [PATCH 2.6.23-rc2-rt2] ARM: use raw lock in __new_context Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®