Skip to contentSkip to conversation

s390: fix _TIF_SINGLE_STEP definition

PATCH In review Tejun Heo 2 participants 2 messages Aug 18, 2011 – Aug 19, 2011 s390

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

PATCH 1/1 s390: fix _TIF_SINGLE_STEP definition

_TIF_SINGLE_STEP is incorrectly defined as 1<<TIF_FREEZE. Fix it.

---
 arch/s390/include/asm/thread_info.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/include/asm/thread_info.h +1 -1
Index: work/arch/s390/include/asm/thread_info.h
===================================================================
@@ -117,7 +117,7 @@ static inline struct thread_info *curren
 #define _TIF_SIE		(1<<TIF_SIE)
 #define _TIF_POLLING_NRFLAG	(1<<TIF_POLLING_NRFLAG)
 #define _TIF_31BIT		(1<<TIF_31BIT)
-#define _TIF_SINGLE_STEP	(1<<TIF_FREEZE)
+#define _TIF_SINGLE_STEP	(1<<TIF_SINGLE_STEP)
 #define _TIF_FREEZE		(1<<TIF_FREEZE)
 
 #ifdef CONFIG_64BIT
#1 lore raw
Quoted 12 lines · On Thu, 18 Aug 2011 18:37:02 +0200 Tejun Heo <[email protected]> wrote:

_TIF_SINGLE_STEP is incorrectly defined as 1<<TIF_FREEZE. Fix it.

---
 arch/s390/include/asm/thread_info.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: work/arch/s390/include/asm/thread_info.h
===================================================================

arch/s390/include/asm/thread_info.h static inline struct thread_info *curren · line 123

Quoted 8 lines
arch/s390/include/asm/thread_info.h +1 -1
@@ -117,7 +117,7 @@ static inline struct thread_info *curren
 #define _TIF_SIE		(1<<TIF_SIE)
 #define _TIF_POLLING_NRFLAG	(1<<TIF_POLLING_NRFLAG)
 #define _TIF_31BIT		(1<<TIF_31BIT)
-#define _TIF_SINGLE_STEP	(1<<TIF_FREEZE)
+#define _TIF_SINGLE_STEP	(1<<TIF_SINGLE_STEP)
 #define _TIF_FREEZE		(1<<TIF_FREEZE)
 
 #ifdef CONFIG_64BIT

Whoa, that has been "unfixed" by git commit 5e9a26928f550157.. Nice catch!

Signature · 4 lines
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.