diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-11-19 07:23:51 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 05:14:57 -0500 |
commit | 87353d8ac39c52784da605ecbe965ecdfad609ad (patch) | |
tree | c95ce7cbe9b099c21cab71a195621801b04bc05a /arch/mips/fw | |
parent | 19388fb092d89e179575bd0b44f51b57e175edf5 (diff) |
[MIPS] SMP: Call platform methods via ops structure.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/fw')
-rw-r--r-- | arch/mips/fw/arc/init.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/fw/arc/init.c b/arch/mips/fw/arc/init.c index e2f75b13312f..3ad8788b6eaa 100644 --- a/arch/mips/fw/arc/init.c +++ b/arch/mips/fw/arc/init.c | |||
@@ -12,6 +12,7 @@ | |||
12 | 12 | ||
13 | #include <asm/bootinfo.h> | 13 | #include <asm/bootinfo.h> |
14 | #include <asm/sgialib.h> | 14 | #include <asm/sgialib.h> |
15 | #include <asm/smp-ops.h> | ||
15 | 16 | ||
16 | #undef DEBUG_PROM_INIT | 17 | #undef DEBUG_PROM_INIT |
17 | 18 | ||
@@ -48,4 +49,11 @@ void __init prom_init(void) | |||
48 | ArcRead(0, &c, 1, &cnt); | 49 | ArcRead(0, &c, 1, &cnt); |
49 | ArcEnterInteractiveMode(); | 50 | ArcEnterInteractiveMode(); |
50 | #endif | 51 | #endif |
52 | #ifdef CONFIG_SGI_IP27 | ||
53 | { | ||
54 | extern struct plat_smp_ops ip27_smp_ops; | ||
55 | |||
56 | register_smp_ops(&ip27_smp_ops); | ||
57 | } | ||
58 | #endif | ||
51 | } | 59 | } |