|
@@ -307,7 +307,7 @@ static inline void __user *arch_compat_alloc_user_space(long len)
|
|
|
return (void __user *)round_down(sp - len, 16);
|
|
|
}
|
|
|
|
|
|
-static inline bool is_x32_task(void)
|
|
|
+static inline bool in_x32_syscall(void)
|
|
|
{
|
|
|
#ifdef CONFIG_X86_X32_ABI
|
|
|
if (task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT)
|
|
@@ -318,7 +318,7 @@ static inline bool is_x32_task(void)
|
|
|
|
|
|
static inline bool in_compat_syscall(void)
|
|
|
{
|
|
|
- return is_ia32_task() || is_x32_task();
|
|
|
+ return in_ia32_syscall() || in_x32_syscall();
|
|
|
}
|
|
|
#define in_compat_syscall in_compat_syscall /* override the generic impl */
|
|
|
|