summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/cpu.h
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2009-06-10 08:57:08 +0000
committerMike Frysinger <vapier@gentoo.org>2009-06-13 07:20:07 -0400
commit47e9dedb720364e0adff0e99960fa294c6161f71 (patch)
treefa5bcb532023a89fa11995e5ceca5ed5dfeabbba /arch/blackfin/include/asm/cpu.h
parent2466ac65560ee8b7506eea3987aba9519355fd02 (diff)
downloadblackbird-obmc-linux-47e9dedb720364e0adff0e99960fa294c6161f71.tar.gz
blackbird-obmc-linux-47e9dedb720364e0adff0e99960fa294c6161f71.zip
Blackfin: add blackfin_invalidate_entire_icache for SMP systems
The KGDB code uses this when switching processors to make sure the icache is in a valid state. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/cpu.h')
-rw-r--r--arch/blackfin/include/asm/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/cpu.h b/arch/blackfin/include/asm/cpu.h
index c2594ef877f6..565b8136855e 100644
--- a/arch/blackfin/include/asm/cpu.h
+++ b/arch/blackfin/include/asm/cpu.h
@@ -34,6 +34,7 @@ struct blackfin_cpudata {
unsigned int dmemctl;
unsigned long loops_per_jiffy;
unsigned long dcache_invld_count;
+ unsigned long icache_invld_count;
};
DECLARE_PER_CPU(struct blackfin_cpudata, cpu_data);
OpenPOWER on IntegriCloud