Files
linux/arch/x86/include/asm
Thomas Gleixner be5341eb0d x86/entry: Convert INT 0x80 emulation to IDTENTRY
There is no real reason to have a separate ASM entry point implementation
for the legacy INT 0x80 syscall emulation on 64-bit.

IDTENTRY provides all the functionality needed with the only difference
that it does not:

  - save the syscall number (AX) into pt_regs::orig_ax
  - set pt_regs::ax to -ENOSYS

Both can be done safely in the C code of an IDTENTRY before invoking any of
the syscall related functions which depend on this convention.

Aside of ASM code reduction this prepares for detecting and handling a
local APIC injected vector 0x80.

[ kirill.shutemov: More verbose comments ]
Suggested-by: Linus Torvalds <torvalds@linuxfoundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@vger.kernel.org> # v6.0+
2023-12-07 09:51:29 -08:00
..
2021-10-20 22:35:04 +02:00
2022-08-04 11:11:59 +02:00
2022-09-26 10:13:16 -07:00
2023-06-05 09:36:39 +02:00
2023-05-09 12:53:16 +02:00
2023-05-15 20:03:08 +02:00
2022-10-17 16:41:15 +02:00
2021-12-11 09:09:47 +01:00
2021-10-28 23:25:26 +02:00
2023-10-03 10:38:08 +02:00
2022-10-03 14:03:26 -07:00
2022-04-07 08:27:52 -07:00
2023-09-18 19:30:08 +02:00
2023-10-16 15:37:01 +02:00
2022-11-10 13:12:45 +01:00
2023-06-01 15:04:33 +02:00
2021-07-01 11:06:03 -07:00
2023-08-02 15:01:51 -07:00
2021-12-11 09:09:45 +01:00
2023-07-10 09:52:25 +02:00
2023-08-17 17:07:09 +02:00
2022-01-30 21:17:00 -05:00
2022-01-30 21:17:00 -05:00
2022-06-08 05:56:24 -04:00