diff mbox series

x86/kvm: Remove the rest of do_async_page_fault

Message ID c42751308a39630e76fb0a159e59db230b384cce.1583076033.git.luto@kernel.org (mailing list archive)
State New, archived
Headers show
Series x86/kvm: Remove the rest of do_async_page_fault | expand

Commit Message

Andy Lutomirski March 1, 2020, 3:21 p.m. UTC
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@intel.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
---

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 mbox series

Patch

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