[MIPS] SMP: Call platform methods via ops structure.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
|
||||
#include <asm/bootinfo.h>
|
||||
#include <asm/sgialib.h>
|
||||
#include <asm/smp-ops.h>
|
||||
|
||||
#undef DEBUG_PROM_INIT
|
||||
|
||||
@ -48,4 +49,11 @@ void __init prom_init(void)
|
||||
ArcRead(0, &c, 1, &cnt);
|
||||
ArcEnterInteractiveMode();
|
||||
#endif
|
||||
#ifdef CONFIG_SGI_IP27
|
||||
{
|
||||
extern struct plat_smp_ops ip27_smp_ops;
|
||||
|
||||
register_smp_ops(&ip27_smp_ops);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user