• Linus Torvalds's avatar
    Merge tag 'x86-entry-2021-06-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 1dfb0f47
    Linus Torvalds authored
    Pull x86 entry code related updates from Thomas Gleixner:
    
     - Consolidate the macros for .byte ... opcode sequences
    
     - Deduplicate register offset defines in include files
    
     - Simplify the ia32,x32 compat handling of the related syscall tables
       to get rid of #ifdeffery.
    
     - Clear all EFLAGS which are not required for syscall handling
    
     - Consolidate the syscall tables and switch the generation over to the
       generic shell script and remove the CFLAGS tweaks which are not
       longer required.
    
     - Use 'int' type for system call numbers to match the generic code.
    
     - Add more selftests for syscalls
    
    * tag 'x86-entry-2021-06-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/syscalls: Don't adjust CFLAGS for syscall tables
      x86/syscalls: Remove -Wno-override-init for syscall tables
      x86/uml/syscalls: Remove array index from syscall initializers
      x86/syscalls: Clear 'offset' and 'prefix' in case they are set in env
      x86/entry: Use int everywhere for system call numbers
      x86/entry: Treat out of range and gap system calls the same
      x86/entry/64: Sign-extend system calls on entry to int
      selftests/x86/syscall: Add tests under ptrace to syscall_numbering_64
      selftests/x86/syscall: Simplify message reporting in syscall_numbering
      selftests/x86/syscall: Update and extend syscall_numbering_64
      x86/syscalls: Switch to generic syscallhdr.sh
      x86/syscalls: Use __NR_syscalls instead of __NR_syscall_max
      x86/unistd: Define X32_NR_syscalls only for 64-bit kernel
      x86/syscalls: Stop filling syscall arrays with *_sys_ni_syscall
      x86/syscalls: Switch to generic syscalltbl.sh
      x86/entry/x32: Rename __x32_compat_sys_* to __x64_compat_sys_*
    1dfb0f47
common.c 8.32 KB