From 77f24771ec87f8eef4bae214f5f981dcecaebf8c Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Wed, 8 May 2002 14:42:23 +1000 Subject: ppc64: Add PREEMPT_ACTIVE and fix HMT macro typo --- include/asm-ppc64/memory.h | 2 +- include/asm-ppc64/thread_info.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/asm-ppc64/memory.h b/include/asm-ppc64/memory.h index 60ece9cc43b8..78297eff5015 100644 --- a/include/asm-ppc64/memory.h +++ b/include/asm-ppc64/memory.h @@ -50,7 +50,7 @@ static inline void isync(void) #define HMT_LOW "\tor 1,1,1 # low priority\n" #define HMT_MEDIUM "\tor 2,2,2 # medium priority\n" -#define HMT_MEDIUM "\tor 3,3,3 # high priority\n" +#define HMT_HIGH "\tor 3,3,3 # high priority\n" #else #define HMT_low() do { } while(0) #define HMT_medium() do { } while(0) diff --git a/include/asm-ppc64/thread_info.h b/include/asm-ppc64/thread_info.h index c7d322334ee3..c7877e4cd963 100644 --- a/include/asm-ppc64/thread_info.h +++ b/include/asm-ppc64/thread_info.h @@ -65,6 +65,8 @@ static inline struct thread_info *current_thread_info(void) #endif /* __ASSEMBLY__ */ +#define PREEMPT_ACTIVE 0x4000000 + /* * thread information flag bit numbers */ -- cgit v1.2.3