aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/cpu.h
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2010-02-01 06:07:50 +0000
committerMike Frysinger <vapier@gentoo.org>2010-03-09 00:30:50 -0500
commit718340f62900ed44046d2b0f74d0dec7cf844194 (patch)
tree974cf52038196598c653902de3da83ca96ee3792 /arch/blackfin/include/asm/cpu.h
parentBlackfin: add support for cpufreq on SMP systems (diff)
downloadlinux-dev-718340f62900ed44046d2b0f74d0dec7cf844194.tar.xz
linux-dev-718340f62900ed44046d2b0f74d0dec7cf844194.zip
Blackfin: rewrite resync_core_{i,d}cache() SMP logic to avoid per_cpu data
This functions are implicitly called by core functions like cpu_relax(), and since those functions may be called early on before common code has initialized the per-cpu data area, we need to tweak the stats gathering. Now the statistics are maintained in common bss which makes these funcs safe to use as soon as the C runtime env is setup. Signed-off-by: Graf Yang <graf.yang@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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/blackfin/include/asm/cpu.h b/arch/blackfin/include/asm/cpu.h
index b191dc662bd8..16883e582e3c 100644
--- a/arch/blackfin/include/asm/cpu.h
+++ b/arch/blackfin/include/asm/cpu.h
@@ -17,8 +17,6 @@ struct blackfin_cpudata {
struct task_struct *idle;
unsigned int imemctl;
unsigned int dmemctl;
- unsigned long dcache_invld_count;
- unsigned long icache_invld_count;
};
DECLARE_PER_CPU(struct blackfin_cpudata, cpu_data);