提交 f3e45597 编写于 作者: A Arnd Bergmann 提交者: Thomas Gleixner

x86/syscalls/32: Ignore arch_prctl for other architectures

sys_arch_prctl is only provided on x86, and there is no reason
to add it elsewhere. However, including it on the 32-bit syscall
table caused a warning for most configurations on non-x86:

:1328:2: warning: #warning syscall arch_prctl not implemented [-Wcpp]

This adds an exception to the syscall table checking script.

Fixes: 79170fda ("x86/syscalls/32: Wire up arch_prctl on x86-32")
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Cc: Kyle Huey <khuey@kylehuey.com>
Link: http://lkml.kernel.org/r/20170323151904.706286-1-arnd@arndb.deSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 d582799f
...@@ -148,6 +148,7 @@ cat << EOF ...@@ -148,6 +148,7 @@ cat << EOF
#define __IGNORE_sysfs #define __IGNORE_sysfs
#define __IGNORE_uselib #define __IGNORE_uselib
#define __IGNORE__sysctl #define __IGNORE__sysctl
#define __IGNORE_arch_prctl
/* ... including the "new" 32-bit uid syscalls */ /* ... including the "new" 32-bit uid syscalls */
#define __IGNORE_lchown32 #define __IGNORE_lchown32
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册