diff options
| author | Ralf Baechle <ralf@linux-mips.org> | 2014-05-23 16:29:44 +0200 | 
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-24 00:07:01 +0200 | 
| commit | b633648c5ad3cfbda0b3daea50d2135d44899259 (patch) | |
| tree | 6100185cae10f36a55e71c3b220fc79cfa14b7c0 /arch/mips/pmcs-msp71xx/msp_irq.c | |
| parent | 8b2e62cc34feaaf1cac9440a93fb18ac0b1e81bc (diff) | |
MIPS: MT: Remove SMTC support
Nobody is maintaining SMTC anymore and there also seems to be no userbase.
Which is a pity - the SMTC technology primarily developed by Kevin D.
Kissell <kevink@paralogos.com> is an ingenious demonstration for the MT
ASE's power and elegance.
Based on Markos Chandras <Markos.Chandras@imgtec.com> patch
https://patchwork.linux-mips.org/patch/6719/ which while very similar did
no longer apply cleanly when I tried to merge it plus some additional
post-SMTC cleanup - SMTC was a feature as tricky to remove as it was to
merge once upon a time.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pmcs-msp71xx/msp_irq.c')
| -rw-r--r-- | arch/mips/pmcs-msp71xx/msp_irq.c | 16 | 
1 files changed, 5 insertions, 11 deletions
| diff --git a/arch/mips/pmcs-msp71xx/msp_irq.c b/arch/mips/pmcs-msp71xx/msp_irq.c index 9da5619c00a5..941744aabb51 100644 --- a/arch/mips/pmcs-msp71xx/msp_irq.c +++ b/arch/mips/pmcs-msp71xx/msp_irq.c @@ -32,7 +32,7 @@ extern void msp_vsmp_int_init(void);  /* vectored interrupt implementation */ -/* SW0/1 interrupts are used for SMP/SMTC */ +/* SW0/1 interrupts are used for SMP  */  static inline void mac0_int_dispatch(void) { do_IRQ(MSP_INT_MAC0); }  static inline void mac1_int_dispatch(void) { do_IRQ(MSP_INT_MAC1); }  static inline void mac2_int_dispatch(void) { do_IRQ(MSP_INT_SAR); } @@ -138,14 +138,6 @@ void __init arch_init_irq(void)  	set_vi_handler(MSP_INT_SEC, sec_int_dispatch);  #ifdef CONFIG_MIPS_MT_SMP  	msp_vsmp_int_init(); -#elif defined CONFIG_MIPS_MT_SMTC -	/*Set hwmask for all platform devices */ -	irq_hwmask[MSP_INT_MAC0] = C_IRQ0; -	irq_hwmask[MSP_INT_MAC1] = C_IRQ1; -	irq_hwmask[MSP_INT_USB] = C_IRQ2; -	irq_hwmask[MSP_INT_SAR] = C_IRQ3; -	irq_hwmask[MSP_INT_SEC] = C_IRQ5; -  #endif	/* CONFIG_MIPS_MT_SMP */  #endif	/* CONFIG_MIPS_MT */  	/* setup the cascaded interrupts */ @@ -153,8 +145,10 @@ void __init arch_init_irq(void)  	setup_irq(MSP_INT_PER, &per_cascade_msp);  #else -	/* setup the 2nd-level SLP register based interrupt controller */ -	/* VSMP /SMTC support support is not enabled for SLP */ +	/* +	 * Setup the 2nd-level SLP register based interrupt controller. +	 * VSMP support support is not enabled for SLP. +	 */  	msp_slp_irq_init();  	/* setup the cascaded SLP/PER interrupts */ | 
