Patchwork sparc64: Fix PREEMPT_ACTIVE value.

login
register
mail settings
Submitter David Miller
Date April 19, 2010, 8:31 a.m.
Message ID <20100419.013149.102562663.davem@davemloft.net>
Download mbox | patch
Permalink /patch/50431/
State Accepted
Delegated to: David Miller
Headers show

Comments

David Miller - April 19, 2010, 8:31 a.m.
It currently overlaps the NMI bit.

Signed-off-by: David S. Miller <davem@davemloft.net>
---

I noticed this while auditing some other things.

 arch/sparc/include/asm/thread_info_64.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/sparc/include/asm/thread_info_64.h b/arch/sparc/include/asm/thread_info_64.h
index 9e2d944..4827a3a 100644
--- a/arch/sparc/include/asm/thread_info_64.h
+++ b/arch/sparc/include/asm/thread_info_64.h
@@ -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