x86: Consolidate boot cpu timer setup
Now that the APIC bringup is consolidated we can move the setup call for the percpu clock event device to apic_bsp_setup(). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Jiang Liu <jiang.liu@linux.intel.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: Tony Luck <tony.luck@intel.com> Cc: Borislav Petkov <bp@alien8.de> Link: http://lkml.kernel.org/r/20150115211704.162567839@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -2244,6 +2244,8 @@ int __init apic_bsp_setup(bool upmode)
|
||||
end_local_APIC_setup();
|
||||
irq_remap_enable_fault_handling();
|
||||
setup_IO_APIC();
|
||||
/* Setup local timer */
|
||||
x86_init.timers.setup_percpu_clockev();
|
||||
return id;
|
||||
}
|
||||
|
||||
@@ -2284,8 +2286,6 @@ int __init APIC_init_uniprocessor(void)
|
||||
default_setup_apic_routing();
|
||||
verify_local_APIC();
|
||||
apic_bsp_setup(true);
|
||||
|
||||
x86_init.timers.setup_percpu_clockev();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user