x86/uaccess: Improve the 8-byte getuser() case
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 19 Jun 2024 12:54:23 +0000 (14:54 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 19 Jun 2024 17:56:07 +0000 (19:56 +0200)
commit8a2462df154799129d8259079ec1fecf78703189
tree1e5785d2855987530f4ebb16240c192d5538f230
parent6ba59ff4227927d3a8530fc2973b80e94b54d58f
x86/uaccess: Improve the 8-byte getuser() case

Streamline the 8-byte case and drop the special handling. Use a macro
which hides the exception handling.

No functional changes.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/CAHk-=whYb2L_atsRk9pBiFiVLGe5wNZLHhRinA69yu6FiKvDsw@mail.gmail.com
arch/x86/lib/getuser.S