1 diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
2 index 0493093..97f848d 100644
3 --- a/arch/x86/xen/enlighten.c
4 +++ b/arch/x86/xen/enlighten.c
5 @@ -779,7 +779,7 @@ static __init void set_xen_basic_apic_ops(void)
6 apic->icr_write = xen_apic_icr_write;
7 apic->wait_icr_idle = xen_apic_wait_icr_idle;
8 apic->safe_wait_icr_idle = xen_safe_apic_wait_icr_idle;
9 - apic->probe = xen_safe_probe;
10 +// apic->probe = xen_safe_probe;
11 apic->acpi_madt_oem_check = xen_safe_flat_acpi_madt_oem_check;
12 /* Copy over the full contents of the newly modified apic into
13 * our apic_xen, which is to be called first by apic_probe[]. */
14 diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
15 index 204e3ba..3132414 100644
16 --- a/arch/x86/xen/mmu.c
17 +++ b/arch/x86/xen/mmu.c
18 @@ -1666,6 +1666,7 @@ static void xen_flush_tlb_single(unsigned long addr)
19 static void xen_flush_tlb_others(const struct cpumask *cpus,
20 struct mm_struct *mm, unsigned long va)
22 + extern unsigned int num_processors;
25 DECLARE_BITMAP(mask, num_processors);