]> git.baikalelectronics.ru Git - kernel.git/commit
x86/syscalls/32: Ignore arch_prctl for other architectures
authorArnd Bergmann <arnd@arndb.de>
Thu, 23 Mar 2017 15:18:51 +0000 (16:18 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 24 Mar 2017 13:13:55 +0000 (14:13 +0100)
commit81829b8df9ede140d3828647971acd4700743f94
treefd1db905fdcaccc621dd0523a662070bcd5143c6
parenta3cc347d8a85811540e639a248323a274ca218b1
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: cf7949bb0c19 ("x86/syscalls/32: Wire up arch_prctl on x86-32")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Kyle Huey <khuey@kylehuey.com>
Link: http://lkml.kernel.org/r/20170323151904.706286-1-arnd@arndb.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
scripts/checksyscalls.sh