| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH 18/29] MIPS: Add SMP_ICACHE_FLUSH for the Cavium CPU family. |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Thu, 6 Nov 2008 12:54:31 -0800 |
| Cc: | David Daney <ddaney@caviumnetworks.com>, Tomaso Paoletti <tpaoletti@caviumnetworks.com>, Paul Gortmaker <Paul.Gortmaker@windriver.com> |
| In-reply-to: | <491358F5.7040002@caviumnetworks.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <491358F5.7040002@caviumnetworks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
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> --- arch/mips/include/asm/smp.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/mips/include/asm/smp.h b/arch/mips/include/asm/smp.h index 0ff5b52..e6f419f 100644 --- a/arch/mips/include/asm/smp.h +++ b/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_CALL_FUNCTION 0x2 +/* Octeon - Tell another core to flush its icache */ +#define SMP_ICACHE_FLUSH 0x4 + extern cpumask_t phys_cpu_present_map; #define cpu_possible_map phys_cpu_present_map -- 1.5.6.5 |
| Previous by Date: | [PATCH 17/29] MIPS: Add Cavium OCTEON specific registers to ptrace.h and asm-offsets.c, David Daney |
|---|---|
| Next by Date: | [PATCH 19/29] MIPS: Cavium OCTEON: PT vs MFC0 reorder, multiplier state preservation., David Daney |
| Previous by Thread: | [PATCH 17/29] MIPS: Add Cavium OCTEON specific registers to ptrace.h and asm-offsets.c, David Daney |
| Next by Thread: | Re: [PATCH 18/29] MIPS: Add SMP_ICACHE_FLUSH for the Cavium CPU family., Sergei Shtylyov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |