s390: remove is_32bit_task() helper
is_32bit_task() used to be helpful when we still had CONFIG_32BIT. Since that is gone, it is nowadays identical to is_compat_task(). So remove it. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:

committed by
Martin Schwidefsky

parent
b8eecf36a4
commit
9eb31be33c
@@ -284,7 +284,7 @@ static inline compat_uptr_t ptr_to_compat(void __user *uptr)
|
||||
|
||||
static inline int is_compat_task(void)
|
||||
{
|
||||
return is_32bit_task();
|
||||
return test_thread_flag(TIF_31BIT);
|
||||
}
|
||||
|
||||
static inline void __user *arch_compat_alloc_user_space(long len)
|
||||
|
Reference in New Issue
Block a user