x86: fix warnings and refactor syscall code
Status from this message: The following commit has been merged into the x86/cleanups branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | x86/syscalls: fix -Wmissing-prototypes warnings from COND_SYSCALL()arch/ | +1 | 3 replies | |
| 2/7 | x86/entry/x32: rename __x32_compat_sys_* to __x64_compat_sys_*arch/ arch/ | +7 | 0 replies | |
| 3/7 | x86/syscalls: switch to generic syscalltbl.sharch/ arch/ arch/ +5 more | +34 | 0 replies | |
| 4/7 | x86/syscalls: stop filling syscall arrays with *_sys_ni_syscallarch/ arch/ arch/ +2 more | +6 | 0 replies | |
| 5/7 | x86/unistd: define X32_NR_syscalls only for 64-bit kernelarch/ | +1 | 0 replies | |
| 6/7 | x86/syscalls: use __NR_syscalls instead of __NR_syscall_maxarch/ arch/ arch/ | +6 | 0 replies | |
| 7/7 | x86/syscalls: switch to generic syscallhdr.sharch/ arch/ | +13 | 0 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by.
| Patch | Mickaël Salaün |
|---|---|
| 1/7 | T-b |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] x86: fix warnings and refactor syscall code
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
Signature · 1 line
2.27.0