Kaynağa Gözat

[MIPS] Fix declaration of smp_prepare_cpus() platform hook.

A while ago prom_prepare_cpus was replaced by plat_prepare_cpus but
the declaration has stayed unchanged.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Ralf Baechle 19 yıl önce
ebeveyn
işleme
722ace9dfb
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      include/asm-mips/smp.h

+ 2 - 2
include/asm-mips/smp.h

@@ -85,9 +85,9 @@ extern void prom_init_secondary(void);
 extern void plat_smp_setup(void);
 
 /*
- * Called after init_IRQ but before __cpu_up.
+ * Called in smp_prepare_cpus.
  */
-extern void prom_prepare_cpus(unsigned int max_cpus);
+extern void plat_prepare_cpus(unsigned int max_cpus);
 
 /*
  * Last chance for the board code to finish SMP initialization before