[PATCH] x86/kvm: Remove the rest of do_async_page_fault

From: Andy Lutomirski
Date: Sun Mar 01 2020 - 10:22:06 EST


I failed to remove the 32-bit asm stub, causing a build failure. Remove
it.

Fixes: "x86/kvm: Handle async page faults directly through do_page_fault()"
Reported-by: kbuild test robot <lkp@xxxxxxxxx>
Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxx>
---

This should probably be folded in to avoid breaking bisection if that's
still convenient.

arch/x86/entry/entry_32.S | 8 --------
1 file changed, 8 deletions(-)

diff --git a/arch/x86/entry/entry_32.S b/arch/x86/entry/entry_32.S
index 7e0560442538..9b5288268aee 100644
--- a/arch/x86/entry/entry_32.S
+++ b/arch/x86/entry/entry_32.S
@@ -1698,14 +1698,6 @@ SYM_CODE_START(general_protection)
jmp common_exception
SYM_CODE_END(general_protection)

-#ifdef CONFIG_KVM_GUEST
-SYM_CODE_START(async_page_fault)
- ASM_CLAC
- pushl $do_async_page_fault
- jmp common_exception_read_cr2
-SYM_CODE_END(async_page_fault)
-#endif
-
SYM_CODE_START(rewind_stack_do_exit)
/* Prevent any naive code from trying to unwind to our caller. */
xorl %ebp, %ebp
--
2.24.1