aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/mach-visws/traps.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-10 13:31:04 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-10 18:55:32 +0200
commit31ac409a7921da39cc998f2432afa13e77fd8705 (patch)
tree1065fc1b963c95e75683ea6c661e2e6ee3958e51 /arch/x86/mach-visws/traps.c
parent22d5c67c5b0476e463ce4b632ba9ec3953d33a5f (diff)
x86, VisWS: turn into generic arch, add early init quirks
add early init quirks for VisWS. This gradually turns the VISWS subarch into a generic PC architecture. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-visws/traps.c')
-rw-r--r--arch/x86/mach-visws/traps.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/mach-visws/traps.c b/arch/x86/mach-visws/traps.c
index dd1f5fa9421..8a160ec147f 100644
--- a/arch/x86/mach-visws/traps.c
+++ b/arch/x86/mach-visws/traps.c
@@ -62,8 +62,10 @@ static __init void cobalt_init(void)
co_apic_read(CO_APIC_ID));
}
-void __init trap_init_hook_dontuse(void)
+int __init visws_trap_init_quirk(void)
{
lithium_init();
cobalt_init();
+
+ return 1;
}