Răsfoiți Sursa

MIPS: Add SMP_ICACHE_FLUSH for the Cavium CPU family.

Signed-off-by: Tomaso Paoletti <tpaoletti@caviumnetworks.com>
Signed-off-by: Paul Gortmaker <Paul.Gortmaker@windriver.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
David Daney 16 ani în urmă
părinte
comite
ddcdb1b4a4
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      arch/mips/include/asm/smp.h

+ 3 - 0
arch/mips/include/asm/smp.h

@@ -37,6 +37,9 @@ extern int __cpu_logical_map[NR_CPUS];
 
 
 #define SMP_RESCHEDULE_YOURSELF	0x1	/* XXX braindead */
 #define SMP_RESCHEDULE_YOURSELF	0x1	/* XXX braindead */
 #define SMP_CALL_FUNCTION	0x2
 #define SMP_CALL_FUNCTION	0x2
+/* Octeon - Tell another core to flush its icache */
+#define SMP_ICACHE_FLUSH	0x4
+
 
 
 extern void asmlinkage smp_bootstrap(void);
 extern void asmlinkage smp_bootstrap(void);