]> git.baikalelectronics.ru Git - kernel.git/commit
x86/asm/entry: (Re-)rename __NR_entry_INT80_compat_max to __NR_syscall_compat_max
authorIngo Molnar <mingo@kernel.org>
Mon, 8 Jun 2015 19:20:26 +0000 (21:20 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 8 Jun 2015 21:43:38 +0000 (23:43 +0200)
commite0d64795df790a30639aa4a518bc9afa109c59a1
tree5df727b227fb8773bef54d75b6ac8e9489797c99
parent6364dea85a14690879d4d83ef1e3291d60a5cc14
x86/asm/entry: (Re-)rename __NR_entry_INT80_compat_max to __NR_syscall_compat_max

Brian Gerst noticed that I did a weird rename in the following commit:

   d478e2dde677 ("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: Brian 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: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/syscall_32.c
arch/x86/kernel/asm-offsets_64.c