lkml.org 
[lkml]   [2021]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/7] x86: fix warnings and refactor syscall code
Date

This patch series makes a lot of cleanups.
We can remove a lot of lines.
The code diff is attractive.



Masahiro Yamada (7):
x86/syscalls: fix -Wmissing-prototypes warnings from COND_SYSCALL()
x86/entry/x32: rename __x32_compat_sys_* to __x64_compat_sys_*
x86/syscalls: switch to generic syscalltbl.sh
x86/syscalls: stop filling syscall arrays with *_sys_ni_syscall
x86/unistd: define X32_NR_syscalls only for 64-bit kernel
x86/syscalls: use __NR_syscalls instead of __NR_syscall_max
x86/syscalls: switch to generic syscallhdr.sh

arch/um/kernel/skas/syscall.c | 2 +-
arch/x86/entry/syscall_32.c | 20 +++++------
arch/x86/entry/syscall_64.c | 17 +++-------
arch/x86/entry/syscall_x32.c | 35 ++++----------------
arch/x86/entry/syscalls/Makefile | 36 +++++++++++---------
arch/x86/entry/syscalls/syscallhdr.sh | 35 --------------------
arch/x86/entry/syscalls/syscalltbl.sh | 46 --------------------------
arch/x86/include/asm/Kbuild | 1 +
arch/x86/include/asm/syscall_wrapper.h | 11 +++---
arch/x86/include/asm/unistd.h | 8 ++---
arch/x86/um/sys_call_table_32.c | 14 +++-----
arch/x86/um/sys_call_table_64.c | 15 ++-------
12 files changed, 61 insertions(+), 179 deletions(-)
delete mode 100644 arch/x86/entry/syscalls/syscallhdr.sh
delete mode 100644 arch/x86/entry/syscalls/syscalltbl.sh

--
2.27.0

\
 
 \ /
  Last update: 2021-03-01 14:21    [W:0.142 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site