[PATCH 0/5] arm64 compat syscall table clean-up

Catalin Marinas catalin.marinas at arm.com
Fri Jan 9 07:57:23 PST 2015


This series moves the arm64 compat_sys_call_table from .S to a .c file
for consistency with the native syscalls and also for detecting when the
real number of compat system calls and the __NR_compat_syscalls
definition are out of sync.

The first two patches, however, touch some generic header file, hence
Andrew and Arnd on cc.

Catalin Marinas (4):
  compat: Declare compat_sys_sigpending and compat_sys_sigprocmask
    prototypes
  syscalls: Declare sys_*stat64 prototypes if
    __ARCH_WANT_(COMPAT_)STAT64
  arm64: Implement the compat_sys_call_table in C
  arm64: Remove asm/syscalls.h

Mark Rutland (1):
  arm64: make sys_call_table const

 arch/arm64/include/asm/syscalls.h        | 30 -------------------
 arch/arm64/include/asm/unistd.h          |  3 ++
 arch/arm64/kernel/Makefile               |  2 +-
 arch/arm64/kernel/entry.S                |  2 +-
 arch/arm64/kernel/{sys32.S => entry32.S} | 34 ++++++++-------------
 arch/arm64/kernel/sys.c                  |  5 ++--
 arch/arm64/kernel/sys32.c                | 51 ++++++++++++++++++++++++++++++++
 include/linux/compat.h                   |  9 ++++++
 include/linux/syscalls.h                 |  8 +++--
 9 files changed, 84 insertions(+), 60 deletions(-)
 delete mode 100644 arch/arm64/include/asm/syscalls.h
 rename arch/arm64/kernel/{sys32.S => entry32.S} (80%)
 create mode 100644 arch/arm64/kernel/sys32.c




More information about the linux-arm-kernel mailing list