aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/xen/enlighten_hvm.c
diff options
context:
space:
mode:
authorGravatar Boris Ostrovsky <boris.ostrovsky@oracle.com> 2017-05-02 13:23:06 -0400
committerGravatar Juergen Gross <jgross@suse.com> 2017-05-03 06:46:11 +0200
commit3dbd8204af48d0da442f11ad39aa778a5fd462bf (patch)
treec54763ac63471a230f293290412531e42de4c931 /arch/x86/xen/enlighten_hvm.c
parentxen: Implement EFI reset_system callback (diff)
downloadlinux-3dbd8204af48d0da442f11ad39aa778a5fd462bf.tar.gz
linux-3dbd8204af48d0da442f11ad39aa778a5fd462bf.tar.bz2
linux-3dbd8204af48d0da442f11ad39aa778a5fd462bf.zip
xen: Move xen_have_vector_callback definition to enlighten.c
Commit 84d582d236dc ("xen: Revert commits da72ff5bfcb0 and 72a9b186292d") defined xen_have_vector_callback in enlighten_hvm.c. Since guest-type-neutral code refers to this variable this causes build failures when CONFIG_XEN_PVHVM is not defined. Moving xen_have_vector_callback definition to enlighten.c resolves this issue. Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reported-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86/xen/enlighten_hvm.c')
-rw-r--r--arch/x86/xen/enlighten_hvm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/xen/enlighten_hvm.c b/arch/x86/xen/enlighten_hvm.c
index 078c512b8720..a6d014f47e52 100644
--- a/arch/x86/xen/enlighten_hvm.c
+++ b/arch/x86/xen/enlighten_hvm.c
@@ -18,9 +18,6 @@
#include "mmu.h"
#include "smp.h"
-__read_mostly int xen_have_vector_callback;
-EXPORT_SYMBOL_GPL(xen_have_vector_callback);
-
void __ref xen_hvm_init_shared_info(void)
{
int cpu;