diff options
| author | Anton Blanchard <anton@samba.org> | 2002-05-08 14:42:23 +1000 |
|---|---|---|
| committer | Anton Blanchard <anton@samba.org> | 2002-05-08 14:42:23 +1000 |
| commit | 77f24771ec87f8eef4bae214f5f981dcecaebf8c (patch) | |
| tree | 4d446782ff220f1e2295d1b6a1e33a70b56d62e4 /include | |
| parent | 89626d7de4830c6b80e6c02cb241f94329e2c21e (diff) | |
ppc64: Add PREEMPT_ACTIVE and fix HMT macro typo
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ppc64/memory.h | 2 | ||||
| -rw-r--r-- | include/asm-ppc64/thread_info.h | 2 |
2 files changed, 3 insertions, 1 deletions
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 */ |
