diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2017-03-23 11:18:51 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2017-03-24 09:13:55 -0400 |
| commit | f3e4559781bf0c393364baa6b772233088a711db (patch) | |
| tree | fd1db905fdcaccc621dd0523a662070bcd5143c6 /scripts | |
| parent | d582799fe5de1c1ca127d7f364db12a660cf46d4 (diff) | |
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: 79170fda313e ("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>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/checksyscalls.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index 2c9082ba6137..116b7735ee9f 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh | |||
| @@ -148,6 +148,7 @@ cat << EOF | |||
| 148 | #define __IGNORE_sysfs | 148 | #define __IGNORE_sysfs |
| 149 | #define __IGNORE_uselib | 149 | #define __IGNORE_uselib |
| 150 | #define __IGNORE__sysctl | 150 | #define __IGNORE__sysctl |
| 151 | #define __IGNORE_arch_prctl | ||
| 151 | 152 | ||
| 152 | /* ... including the "new" 32-bit uid syscalls */ | 153 | /* ... including the "new" 32-bit uid syscalls */ |
| 153 | #define __IGNORE_lchown32 | 154 | #define __IGNORE_lchown32 |
