提交 0f58104c 编写于 作者: H Heiko Carstens 提交者: Martin Schwidefsky

s390/compat: fix compile error for !COMPAT

Fix this one for !COMPAT:

compat.h: In function ‘arch_compat_alloc_user_space’:
compat.h:292:2: error: implicit declaration of function ‘is_compat_task’
Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 a2aec0d3
......@@ -248,8 +248,6 @@ static inline int is_compat_task(void)
return is_32bit_task();
}
#endif
static inline void __user *arch_compat_alloc_user_space(long len)
{
unsigned long stack;
......@@ -260,6 +258,8 @@ static inline void __user *arch_compat_alloc_user_space(long len)
return (void __user *) (stack - len);
}
#endif
struct compat_ipc64_perm {
compat_key_t key;
__compat_uid32_t uid;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册