projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[MIPS] SMP: Call platform methods via ops structure.
[linux-block.git]
/
arch
/
mips
/
pmc-sierra
/
yosemite
/
prom.c
diff --git
a/arch/mips/pmc-sierra/yosemite/prom.c
b/arch/mips/pmc-sierra/yosemite/prom.c
index 0cd78f0f5f2d2fcef04953fe26b24541b8448289..35dc435846a62d8c82e5a7e706bab208567da3f2 100644
(file)
--- a/
arch/mips/pmc-sierra/yosemite/prom.c
+++ b/
arch/mips/pmc-sierra/yosemite/prom.c
@@
-19,6
+19,7
@@
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/reboot.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/reboot.h>
+#include <asm/smp-ops.h>
#include <asm/system.h>
#include <asm/bootinfo.h>
#include <asm/pmon.h>
#include <asm/system.h>
#include <asm/bootinfo.h>
#include <asm/pmon.h>
@@
-78,6
+79,8
@@
static void prom_halt(void)
__asm__(".set\tmips3\n\t" "wait\n\t" ".set\tmips0");
}
__asm__(".set\tmips3\n\t" "wait\n\t" ".set\tmips0");
}
+extern struct plat_smp_ops yos_smp_ops;
+
/*
* Init routine which accepts the variables from PMON
*/
/*
* Init routine which accepts the variables from PMON
*/
@@
-126,10
+129,9
@@
void __init prom_init(void)
env++;
}
env++;
}
- mips_machgroup = MACH_GROUP_TITAN;
- mips_machtype = MACH_TITAN_YOSEMITE;
-
prom_grab_secondary();
prom_grab_secondary();
+
+ register_smp_ops(&yos_smp_ops);
}
void __init prom_free_prom_memory(void)
}
void __init prom_free_prom_memory(void)