2017-08-17 09:03:46

by Jürgen Groß

[permalink] [raw]
Subject: [PATCH] xen: fix build failure related to removing adjust_exception_frame

A kernel configured with XEN_PV but without KVM_GUEST will fail to
build since the patch removing the adjust_exception_frame paravirt
op.

Fix this failure.

Reported-by: Sander Eikelenboom <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
---
arch/x86/xen/xen-asm_64.S | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/xen/xen-asm_64.S b/arch/x86/xen/xen-asm_64.S
index f72ff71cc897..62039a35f70e 100644
--- a/arch/x86/xen/xen-asm_64.S
+++ b/arch/x86/xen/xen-asm_64.S
@@ -47,7 +47,6 @@ xen_pv_trap segment_not_present
xen_pv_trap stack_segment
xen_pv_trap general_protection
xen_pv_trap page_fault
-xen_pv_trap async_page_fault
xen_pv_trap spurious_interrupt_bug
xen_pv_trap coprocessor_error
xen_pv_trap alignment_check
--
2.12.3


2017-08-17 13:46:34

by Boris Ostrovsky

[permalink] [raw]
Subject: Re: [PATCH] xen: fix build failure related to removing adjust_exception_frame

On 08/17/2017 05:03 AM, Juergen Gross wrote:
> A kernel configured with XEN_PV but without KVM_GUEST will fail to
> build since the patch removing the adjust_exception_frame paravirt
> op.
>
> Fix this failure.
>
> Reported-by: Sander Eikelenboom <[email protected]>
> Signed-off-by: Juergen Gross <[email protected]>
> ---
> arch/x86/xen/xen-asm_64.S | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/xen/xen-asm_64.S b/arch/x86/xen/xen-asm_64.S
> index f72ff71cc897..62039a35f70e 100644
> --- a/arch/x86/xen/xen-asm_64.S
> +++ b/arch/x86/xen/xen-asm_64.S
> @@ -47,7 +47,6 @@ xen_pv_trap segment_not_present
> xen_pv_trap stack_segment
> xen_pv_trap general_protection
> xen_pv_trap page_fault
> -xen_pv_trap async_page_fault
> xen_pv_trap spurious_interrupt_bug
> xen_pv_trap coprocessor_error
> xen_pv_trap alignment_check

Applied to for-linus-4.14.

-boris