Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230972
b: refs/heads/master
c: a05c90f
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Jan 12, 2011
1 parent a9510b6 commit 35e8b18
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9887a1fcddef1386d3387edf6497d08670460edb
refs/heads/master: a05c90f1948baacedd0c3e7e3250225be4cae727
2 changes: 1 addition & 1 deletion trunk/arch/s390/include/asm/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static inline compat_uptr_t ptr_to_compat(void __user *uptr)

static inline int is_compat_task(void)
{
return test_thread_flag(TIF_31BIT);
return is_32bit_task();
}

#else
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/s390/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ static inline struct thread_info *current_thread_info(void)
#define _TIF_SINGLE_STEP (1<<TIF_FREEZE)
#define _TIF_FREEZE (1<<TIF_FREEZE)

#ifdef CONFIG_64BIT
#define is_32bit_task() (test_thread_flag(TIF_31BIT))
#else
#define is_32bit_task() (1)
#endif

#endif /* __KERNEL__ */

#define PREEMPT_ACTIVE 0x4000000
Expand Down

0 comments on commit 35e8b18

Please sign in to comment.