x86: Replace ARCH_SETUP by a proper x86_init_ops

ARCH_SETUP is a horrible leftover from the old arch/i386 mach support
code. It still has a lonely user in xen. Move it to x86_init_ops.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner
2009-08-20 13:04:10 +02:00
parent 428cf9025b
commit 42bbdb43b1
7 changed files with 15 additions and 9 deletions

View File

@@ -56,6 +56,14 @@ struct x86_init_irqs {
void (*trap_init)(void);
};
/**
* struct x86_init_oem - oem platform specific customizing functions
* @arch_setup: platform specific architecure setup
*/
struct x86_init_oem {
void (*arch_setup)(void);
};
/**
* struct x86_init_ops - functions for platform specific setup
*
@@ -64,6 +72,7 @@ struct x86_init_ops {
struct x86_init_resources resources;
struct x86_init_mpparse mpparse;
struct x86_init_irqs irqs;
struct x86_init_oem oem;
};
extern struct x86_init_ops x86_init;