diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-24 22:52:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-24 22:52:24 -0400 |
commit | aa34e07e457ed13b44d680b5b605e3e5a585f611 (patch) | |
tree | 0c46cb911f52cb0f19082bf925758d7f1f4527c7 /arch/x86/xen/enlighten.c | |
parent | 0d7317598214134d73da59990b846481a9527a00 (diff) | |
parent | c251f15c7dbf2cb72e7b2b282020b41f4e4d3665 (diff) |
Merge tag 'for-linus-4.9-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen fixes from David Vrabel:
- advertise control feature flags in xenstore
- fix x86 build when XEN_PVHVM is disabled
* tag 'for-linus-4.9-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
xenbus: check return value of xenbus_scanf()
xenbus: prefer list_for_each()
x86: xen: move cpu_up functions out of ifdef
xenbus: advertise control feature flags
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index c0fdd57da7aa..bdd855685403 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1837,6 +1837,7 @@ static void __init init_hvm_pv_info(void) | |||
1837 | 1837 | ||
1838 | xen_domain_type = XEN_HVM_DOMAIN; | 1838 | xen_domain_type = XEN_HVM_DOMAIN; |
1839 | } | 1839 | } |
1840 | #endif | ||
1840 | 1841 | ||
1841 | static int xen_cpu_up_prepare(unsigned int cpu) | 1842 | static int xen_cpu_up_prepare(unsigned int cpu) |
1842 | { | 1843 | { |
@@ -1887,6 +1888,7 @@ static int xen_cpu_up_online(unsigned int cpu) | |||
1887 | return 0; | 1888 | return 0; |
1888 | } | 1889 | } |
1889 | 1890 | ||
1891 | #ifdef CONFIG_XEN_PVHVM | ||
1890 | #ifdef CONFIG_KEXEC_CORE | 1892 | #ifdef CONFIG_KEXEC_CORE |
1891 | static void xen_hvm_shutdown(void) | 1893 | static void xen_hvm_shutdown(void) |
1892 | { | 1894 | { |