summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/memory.h2
-rw-r--r--include/asm-ppc64/thread_info.h2
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
*/