x86: add ->pre_time_init to x86_quirks
so NUMAQ can use that to call numaq_pre_time_init() This allows us to remove a NUMAQ special from arch/x86/kernel/setup.c. (and paves the way to remove the NUMAQ subarch) Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@ -102,6 +102,16 @@ static struct irqaction irq0 = {
|
||||
.name = "timer"
|
||||
};
|
||||
|
||||
/**
|
||||
* pre_time_init_hook - do any specific initialisations before.
|
||||
*
|
||||
**/
|
||||
void __init pre_time_init_hook(void)
|
||||
{
|
||||
if (x86_quirks->arch_pre_time_init)
|
||||
x86_quirks->arch_pre_time_init();
|
||||
}
|
||||
|
||||
/**
|
||||
* time_init_hook - do any specific initialisations for the system timer.
|
||||
*
|
||||
|
Reference in New Issue
Block a user