| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH 23/37] Add SMP_ICACHE_FLUSH for the Cavium CPU family. |
| From: | ddaney@caviumnetworks.com |
| Date: | Thu, 23 Oct 2008 17:56:47 -0700 |
| Cc: | David Daney <ddaney@caviumnetworks.com>, Tomaso Paoletti <tpaoletti@caviumnetworks.com>, Paul Gortmaker <Paul.Gortmaker@windriver.com> |
| In-reply-to: | <1224809821-5532-1-git-send-email-ddaney@caviumnetworks.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1224809821-5532-1-git-send-email-ddaney@caviumnetworks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
From: David Daney <ddaney@caviumnetworks.com> 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.5.1 |
| Previous by Date: | [PATCH 16/37] MIPS: Hook Cavium OCTEON cache init into cache.c, ddaney |
|---|---|
| Next by Date: | [PATCH 17/37] cavium: Hook Cavium specifics into main arch/mips dir, ddaney |
| Previous by Thread: | [PATCH 16/37] MIPS: Hook Cavium OCTEON cache init into cache.c, ddaney |
| Next by Thread: | [PATCH 17/37] cavium: Hook Cavium specifics into main arch/mips dir, ddaney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |