Skip to contentSkip to conversation

ARM: use raw lock in __new_context

PATCH New Kevin Hilman 1 participant 1 message Aug 31, 2007 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: use raw lock in __new_context

The ARM CPU ASID lock should be raw as it's used by schedule() when creating a new context.

arch/arm/mm/context.c +1 -1
@@ -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;
 
 /*

--