summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/bcm63xx/prom.c2
-rw-r--r--arch/mips/include/asm/bmips.h10
-rw-r--r--arch/mips/kernel/smp-bmips.c8
3 files changed, 10 insertions, 10 deletions
diff --git a/arch/mips/bcm63xx/prom.c b/arch/mips/bcm63xx/prom.c
index 77a836e661c9..df69eaa453a1 100644
--- a/arch/mips/bcm63xx/prom.c
+++ b/arch/mips/bcm63xx/prom.c
@@ -84,7 +84,7 @@ void __init prom_init(void)
84 * Here we will start up CPU1 in the background and ask it to 84 * Here we will start up CPU1 in the background and ask it to
85 * reconfigure itself then go back to sleep. 85 * reconfigure itself then go back to sleep.
86 */ 86 */
87 memcpy((void *)0xa0000200, &bmips_smp_movevec, 0x20); 87 memcpy((void *)0xa0000200, bmips_smp_movevec, 0x20);
88 __sync(); 88 __sync();
89 set_c0_cause(C_SW0); 89 set_c0_cause(C_SW0);
90 cpumask_set_cpu(1, &bmips_booted_mask); 90 cpumask_set_cpu(1, &bmips_booted_mask);
diff --git a/arch/mips/include/asm/bmips.h b/arch/mips/include/asm/bmips.h
index bf6a8afd7ad2..581a6a3c66e4 100644
--- a/arch/mips/include/asm/bmips.h
+++ b/arch/mips/include/asm/bmips.h
@@ -75,11 +75,11 @@ static inline int register_bmips_smp_ops(void)
75#endif 75#endif
76} 76}
77 77
78extern char bmips_reset_nmi_vec; 78extern char bmips_reset_nmi_vec[];
79extern char bmips_reset_nmi_vec_end; 79extern char bmips_reset_nmi_vec_end[];
80extern char bmips_smp_movevec; 80extern char bmips_smp_movevec[];
81extern char bmips_smp_int_vec; 81extern char bmips_smp_int_vec[];
82extern char bmips_smp_int_vec_end; 82extern char bmips_smp_int_vec_end[];
83 83
84extern int bmips_smp_enabled; 84extern int bmips_smp_enabled;
85extern int bmips_cpu_offset; 85extern int bmips_cpu_offset;
diff --git a/arch/mips/kernel/smp-bmips.c b/arch/mips/kernel/smp-bmips.c
index 76fae9b79f13..712c15de6ab9 100644
--- a/arch/mips/kernel/smp-bmips.c
+++ b/arch/mips/kernel/smp-bmips.c
@@ -464,10 +464,10 @@ static void bmips_wr_vec(unsigned long dst, char *start, char *end)
464 464
465static inline void bmips_nmi_handler_setup(void) 465static inline void bmips_nmi_handler_setup(void)
466{ 466{
467 bmips_wr_vec(BMIPS_NMI_RESET_VEC, &bmips_reset_nmi_vec, 467 bmips_wr_vec(BMIPS_NMI_RESET_VEC, bmips_reset_nmi_vec,
468 &bmips_reset_nmi_vec_end); 468 bmips_reset_nmi_vec_end);
469 bmips_wr_vec(BMIPS_WARM_RESTART_VEC, &bmips_smp_int_vec, 469 bmips_wr_vec(BMIPS_WARM_RESTART_VEC, bmips_smp_int_vec,
470 &bmips_smp_int_vec_end); 470 bmips_smp_int_vec_end);
471} 471}
472 472
473struct reset_vec_info { 473struct reset_vec_info {