x86: refactor x86_quirks support
authorIngo Molnar <mingo@elte.hu>
Sun, 22 Feb 2009 23:34:39 +0000 (00:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 22 Feb 2009 23:08:11 +0000 (00:08 +0100)
commit8e6dafd6c741cd4679b4de3c5d9698851e4fa59c
tree43ceda76cfd6de5577bd7df3ef35909051ce6c6c
parentd85a881d780cc7aaebe1b7aefcddbcb939acbe2d
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>
16 files changed:
arch/x86/include/asm/arch_hooks.h [deleted file]
arch/x86/include/asm/i8259.h
arch/x86/include/asm/setup.h
arch/x86/include/asm/timer.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/probe_32.c
arch/x86/kernel/i8259.c
arch/x86/kernel/irqinit_32.c
arch/x86/kernel/kvmclock.c
arch/x86/kernel/mca_32.c
arch/x86/kernel/paravirt.c
arch/x86/kernel/setup.c
arch/x86/kernel/time_32.c
arch/x86/kernel/traps.c
arch/x86/kernel/visws_quirks.c
arch/x86/kernel/vmiclock_32.c