mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
x86: Move irq_init to x86_init_ops
irq_init is overridden by x86_quirks and by paravirts. Unify the whole mess and make it an unconditional x86_init_ops function which defaults to the standard function and can be overridden by the early platform code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
d9112f4302
commit
66bcaf0bde
12 changed files with 11 additions and 42 deletions
|
@ -16,12 +16,9 @@
|
|||
struct x86_quirks {
|
||||
int (*arch_pre_time_init)(void);
|
||||
int (*arch_time_init)(void);
|
||||
int (*arch_intr_init)(void);
|
||||
int (*arch_trap_init)(void);
|
||||
};
|
||||
|
||||
extern void x86_quirk_intr_init(void);
|
||||
|
||||
extern void x86_quirk_trap_init(void);
|
||||
|
||||
extern void x86_quirk_pre_time_init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue