x86/extable: Remove unused fixup type EX_TYPE_COPY
authorTong Tiangen <tongtiangen@huawei.com>
Sun, 4 Feb 2024 08:26:25 +0000 (16:26 +0800)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 4 Apr 2024 15:01:40 +0000 (17:01 +0200)
commitcb517619f96718a4c3c2534a3124177633f8998d
tree2b18555567f5c29164471bff21f2f868f3fb75bd
parent62fbc013c185896080bc5c7f6dfb26f0746eb217
x86/extable: Remove unused fixup type EX_TYPE_COPY

After

  034ff37d3407 ("x86: rewrite '__copy_user_nocache' function")

rewrote __copy_user_nocache() to use EX_TYPE_UACCESS instead of the
EX_TYPE_COPY exception type, there are no more EX_TYPE_COPY users, so
remove it.

  [ bp: Massage commit message. ]

Signed-off-by: Tong Tiangen <tongtiangen@huawei.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240204082627.3892816-2-tongtiangen@huawei.com
arch/x86/include/asm/asm.h
arch/x86/include/asm/extable_fixup_types.h
arch/x86/kernel/cpu/mce/severity.c
arch/x86/mm/extable.c