diff options
Diffstat (limited to 'arch/x86/xen/apic.c')
| -rw-r--r-- | arch/x86/xen/apic.c | 17 | 
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/x86/xen/apic.c b/arch/x86/xen/apic.c index 1aff4ae65655..e82fd1910dae 100644 --- a/arch/x86/xen/apic.c +++ b/arch/x86/xen/apic.c @@ -60,10 +60,6 @@ static u32 xen_apic_read(u32 reg)  	if (reg == APIC_LVR)  		return 0x14; -#ifdef CONFIG_X86_32 -	if (reg == APIC_LDR) -		return SET_APIC_LOGICAL_ID(1UL << smp_processor_id()); -#endif  	if (reg != APIC_ID)  		return 0; @@ -129,14 +125,6 @@ static int xen_phys_pkg_id(int initial_apic_id, int index_msb)  	return initial_apic_id >> index_msb;  } -#ifdef CONFIG_X86_32 -static int xen_x86_32_early_logical_apicid(int cpu) -{ -	/* Match with APIC_LDR read. Otherwise setup_local_APIC complains. */ -	return 1 << cpu; -} -#endif -  static void xen_noop(void)  {  } @@ -199,11 +187,6 @@ static struct apic xen_pv_apic = {  	.icr_write 			= xen_apic_icr_write,  	.wait_icr_idle 			= xen_noop,  	.safe_wait_icr_idle 		= xen_safe_apic_wait_icr_idle, - -#ifdef CONFIG_X86_32 -	/* generic_processor_info and setup_local_APIC. */ -	.x86_32_early_logical_apicid	= xen_x86_32_early_logical_apicid, -#endif  };  static void __init xen_apic_check(void)  | 
