MIPS: SMTC: Move declaration of smtc_init_secondary to <asm/smtc.h>.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
f9b08d9c60
commit
1685f3b158
2 changed files with 1 additions and 3 deletions
|
@ -27,6 +27,7 @@
|
|||
#include <asm/atomic.h>
|
||||
#include <asm/cpu.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/smtc.h>
|
||||
#include <asm/system.h>
|
||||
#include <asm/mmu_context.h>
|
||||
#include <asm/smtc_ipi.h>
|
||||
|
@ -57,8 +58,6 @@ static inline void ssmtc_send_ipi_mask(const struct cpumask *mask,
|
|||
*/
|
||||
static void __cpuinit ssmtc_init_secondary(void)
|
||||
{
|
||||
void smtc_init_secondary(void);
|
||||
|
||||
smtc_init_secondary();
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ static void msmtc_send_ipi_mask(const struct cpumask *mask, unsigned int action)
|
|||
*/
|
||||
static void __cpuinit msmtc_init_secondary(void)
|
||||
{
|
||||
void smtc_init_secondary(void);
|
||||
int myvpe;
|
||||
|
||||
/* Don't enable Malta I/O interrupts (IP2) for secondary VPEs */
|
||||
|
|
Loading…
Reference in a new issue