diff options
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 3da6acb7eafc..194bbd6e3241 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -180,10 +180,14 @@ void xen_vcpu_restore(void) | |||
180 | 180 | ||
181 | static void __init xen_banner(void) | 181 | static void __init xen_banner(void) |
182 | { | 182 | { |
183 | unsigned version = HYPERVISOR_xen_version(XENVER_version, NULL); | ||
184 | struct xen_extraversion extra; | ||
185 | HYPERVISOR_xen_version(XENVER_extraversion, &extra); | ||
186 | |||
183 | printk(KERN_INFO "Booting paravirtualized kernel on %s\n", | 187 | printk(KERN_INFO "Booting paravirtualized kernel on %s\n", |
184 | pv_info.name); | 188 | pv_info.name); |
185 | printk(KERN_INFO "Hypervisor signature: %s%s\n", | 189 | printk(KERN_INFO "Xen version: %d.%d%s%s\n", |
186 | xen_start_info->magic, | 190 | version >> 16, version & 0xffff, extra.extraversion, |
187 | xen_feature(XENFEAT_mmu_pt_update_preserve_ad) ? " (preserve-AD)" : ""); | 191 | xen_feature(XENFEAT_mmu_pt_update_preserve_ad) ? " (preserve-AD)" : ""); |
188 | } | 192 | } |
189 | 193 | ||
@@ -1270,7 +1274,6 @@ static const struct pv_irq_ops xen_irq_ops __initdata = { | |||
1270 | static const struct pv_apic_ops xen_apic_ops __initdata = { | 1274 | static const struct pv_apic_ops xen_apic_ops __initdata = { |
1271 | #ifdef CONFIG_X86_LOCAL_APIC | 1275 | #ifdef CONFIG_X86_LOCAL_APIC |
1272 | .apic_write = xen_apic_write, | 1276 | .apic_write = xen_apic_write, |
1273 | .apic_write_atomic = xen_apic_write, | ||
1274 | .apic_read = xen_apic_read, | 1277 | .apic_read = xen_apic_read, |
1275 | .setup_boot_clock = paravirt_nop, | 1278 | .setup_boot_clock = paravirt_nop, |
1276 | .setup_secondary_clock = paravirt_nop, | 1279 | .setup_secondary_clock = paravirt_nop, |