x86: refactor x86_quirks support
Impact: cleanup
Make x86_quirks support more transparent. The highlevel
methods are now named:
extern void x86_quirk_pre_intr_init(void);
extern void x86_quirk_intr_init(void);
extern void x86_quirk_trap_init(void);
extern void x86_quirk_pre_time_init(void);
extern void x86_quirk_time_init(void);
This makes it clear that if some platform extension has to
do something here that it is considered ... weird, and is
discouraged.
Also remove arch_hooks.h and move it into setup.h (and other
header files where appropriate).
Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/x86/include/asm/arch_hooks.h 0 additions, 26 deletionsarch/x86/include/asm/arch_hooks.h
- arch/x86/include/asm/i8259.h 4 additions, 0 deletionsarch/x86/include/asm/i8259.h
- arch/x86/include/asm/setup.h 9 additions, 0 deletionsarch/x86/include/asm/setup.h
- arch/x86/include/asm/timer.h 2 additions, 0 deletionsarch/x86/include/asm/timer.h
- arch/x86/kernel/apic/apic.c 0 additions, 1 deletionarch/x86/kernel/apic/apic.c
- arch/x86/kernel/apic/probe_32.c 0 additions, 1 deletionarch/x86/kernel/apic/probe_32.c
- arch/x86/kernel/i8259.c 0 additions, 1 deletionarch/x86/kernel/i8259.c
- arch/x86/kernel/irqinit_32.c 7 additions, 6 deletionsarch/x86/kernel/irqinit_32.c
- arch/x86/kernel/kvmclock.c 0 additions, 1 deletionarch/x86/kernel/kvmclock.c
- arch/x86/kernel/mca_32.c 0 additions, 1 deletionarch/x86/kernel/mca_32.c
- arch/x86/kernel/paravirt.c 0 additions, 1 deletionarch/x86/kernel/paravirt.c
- arch/x86/kernel/setup.c 12 additions, 11 deletionsarch/x86/kernel/setup.c
- arch/x86/kernel/time_32.c 3 additions, 3 deletionsarch/x86/kernel/time_32.c
- arch/x86/kernel/traps.c 2 additions, 2 deletionsarch/x86/kernel/traps.c
- arch/x86/kernel/visws_quirks.c 0 additions, 1 deletionarch/x86/kernel/visws_quirks.c
- arch/x86/kernel/vmiclock_32.c 0 additions, 1 deletionarch/x86/kernel/vmiclock_32.c
Loading
Please register or sign in to comment