x86: Move pre_intr_init to x86_init_ops
Replace the quirk machinery by a x86_init_ops function which defaults to the standard implementation. This is also a preparatory patch for Moorestown support which needs to replace the default init_ISA_irqs as well. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
b3f1b617f4
commit
d9112f4302
7 changed files with 22 additions and 31 deletions
|
@ -43,6 +43,15 @@ struct x86_init_resources {
|
|||
char *(*memory_setup)(void);
|
||||
};
|
||||
|
||||
/**
|
||||
* struct x86_init_irqs - platform specific interrupt setup
|
||||
* @pre_vector_init: init code to run before interrupt vectors
|
||||
* are set up.
|
||||
*/
|
||||
struct x86_init_irqs {
|
||||
void (*pre_vector_init)(void);
|
||||
};
|
||||
|
||||
/**
|
||||
* struct x86_init_ops - functions for platform specific setup
|
||||
*
|
||||
|
@ -50,6 +59,7 @@ struct x86_init_resources {
|
|||
struct x86_init_ops {
|
||||
struct x86_init_resources resources;
|
||||
struct x86_init_mpparse mpparse;
|
||||
struct x86_init_irqs irqs;
|
||||
};
|
||||
|
||||
extern struct x86_init_ops x86_init;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue