]> git.baikalelectronics.ru Git - kernel.git/commit
xen: Move xen_have_vector_callback definition to enlighten.c
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 2 May 2017 17:23:06 +0000 (13:23 -0400)
committerJuergen Gross <jgross@suse.com>
Wed, 3 May 2017 04:46:11 +0000 (06:46 +0200)
commit81fcb600159c796d3333fa9fbbc9d6d2545206fd
treec54763ac63471a230f293290412531e42de4c931
parent0785ba5491b2c70185ff35ee965e748979d5e1ca
xen: Move xen_have_vector_callback definition to enlighten.c

Commit 35442beaf464 ("xen: Revert commits b975585a28fe and
1cdbf31d1281") 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>
arch/x86/xen/enlighten.c
arch/x86/xen/enlighten_hvm.c