MIPS MT kernel modes ( VSMP/SMTC ) support for MSP platforms.
PATCH 3/6 MIPS MT kernel modes ( VSMP/SMTC ) support for MSP platforms.
From: Anoop P A <[email protected]>
Following patch will add VSMP and SMTC platform specific hooks.
Signed-off-by Anoop P A <[email protected]>
--- arch/mips/pmc-sierra/msp71xx/Makefile | 2 + arch/mips/pmc-sierra/msp71xx/msp_setup.c | 10 +++ arch/mips/pmc-sierra/msp71xx/msp_smp.c | 77 +++++++++++++++++++++ arch/mips/pmc-sierra/msp71xx/msp_smtc.c | 107 ++++++++++++++++++++++++++++++ 4 files changed, 196 insertions(+), 0 deletions(-) create mode 100644 arch/mips/pmc-sierra/msp71xx/msp_smp.c create mode 100644 arch/mips/pmc-sierra/msp71xx/msp_smtc.c
arch/mips/pmc-sierra/msp71xx/Makefile +2 -0
@@ -10,3 +10,5 @@ obj-$(CONFIG_IRQ_MSP_CIC) += msp_irq_cic.o msp_irq_per.o obj-$(CONFIG_PCI) += msp_pci.o obj-$(CONFIG_MSPETH) += msp_eth.o obj-$(CONFIG_USB_MSP71XX) += msp_usb.o +obj-$(CONFIG_MIPS_MT_SMP) += msp_smp.o +obj-$(CONFIG_MIPS_MT_SMTC) += msp_smtc.o
arch/mips/pmc-sierra/msp71xx/msp_setup.c +10 -0
@@ -146,6 +146,8 @@ void __init plat_mem_setup(void) pm_power_off = msp_power_off; } +extern struct plat_smp_ops msp_smtc_smp_ops; +void __init prom_init (void ) {unsigned long family;
@@ -226,6 +228,14 @@ void __init prom_init(void)*/ msp_serial_setup (); +#ifdef CONFIG_MIPS_MT_SMP +register_smp_ops (&vsmp_smp_ops); +#endif + +#ifdef CONFIG_MIPS_MT_SMTC +register_smp_ops (&msp_smtc_smp_ops); +#endif +#ifdef CONFIG_PMCTWILED /* * Setup LED states before the subsys_initcall loads other
arch/mips/pmc-sierra/msp71xx/msp_smp.c new file +77 -0
77 lines not on this page · raw message
arch/mips/pmc-sierra/msp71xx/msp_smtc.c new file +107 -0
107 lines not on this page · raw message
Signature · 1 line
1.7.0.4
Queued for 2.6.39 - but you really should run your patches through checkpatch.pl before posting them. I also removed the inclusion of sched.h which appeared unnecessary.
Ralf