Skip to contentSkip to conversation

sparc64: Fix PREEMPT_ACTIVE value.

PATCH New David Miller 1 participant 1 message Apr 19, 2010 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 1/1 sparc64: Fix PREEMPT_ACTIVE value.

It currently overlaps the NMI bit.

---

I noticed this while auditing some other things.

 arch/sparc/include/asm/thread_info_64.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/include/asm/thread_info_64.h +1 -1
index 9e2d944..4827a3a 100644
@@ -111,7 +111,7 @@ struct thread_info {
 #define THREAD_SHIFT PAGE_SHIFT
 #endif /* PAGE_SHIFT = 13 */
 
-#define PREEMPT_ACTIVE		0x4000000
+#define PREEMPT_ACTIVE		0x10000000
 
 /*
  * macros/functions for gaining access to the thread information structure
Signature · 1 line
1.7.0.4