• Ingo Molnar's avatar
    x86/asm/entry: (Re-)rename __NR_entry_INT80_compat_max to __NR_syscall_compat_max · bace7117
    Ingo Molnar authored
    Brian Gerst noticed that I did a weird rename in the following commit:
    
       b2502b41 ("x86/asm/entry: Untangle 'system_call' into two entry points: entry_SYSCALL_64 and entry_INT80_32")
    
    which renamed __NR_ia32_syscall_max to __NR_entry_INT80_compat_max.
    
    Now the original name was a misnomer, but the new one is a misnomer as well,
    as all the 32-bit compat syscall entry points (sysenter, syscall) share the
    system call table, not just the INT80 based one.
    
    Rename it to __NR_syscall_compat_max.
    Reported-by: default avatarBrian Gerst <brgerst@gmail.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Denys Vlasenko <dvlasenk@redhat.com>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    bace7117
asm-offsets_64.c 1.61 KB