diff options
Diffstat (limited to 'sys/arch/aviion/dev/mainbus.c')
-rw-r--r-- | sys/arch/aviion/dev/mainbus.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/aviion/dev/mainbus.c b/sys/arch/aviion/dev/mainbus.c index 18ae8edb097..0c8047ce701 100644 --- a/sys/arch/aviion/dev/mainbus.c +++ b/sys/arch/aviion/dev/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.5 2010/04/24 18:44:27 miod Exp $ */ +/* $OpenBSD: mainbus.c,v 1.6 2010/04/24 18:46:55 miod Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 2004, Miodrag Vallat. @@ -128,6 +128,7 @@ mainbus_match(struct device *parent, void *cf, void *args) void mainbus_attach(struct device *parent, struct device *self, void *args) { + extern void cpu_setup_secondary_processors(void); extern char cpu_model[]; printf(": %s, cpuid 0x%04x", cpu_model, cpuid); @@ -138,6 +139,14 @@ mainbus_attach(struct device *parent, struct device *self, void *args) */ cpu_configuration_print(1); +#ifdef MULTIPROCESSOR + /* + * Let secondary processor initialize further and print their + * configuration information now. + */ + cpu_setup_secondary_processors(); +#endif + (void)config_search(mainbus_scan, self, args); } |