blob: b191dc662bd802076587e30a31cbca61beef7a7c [file] [log] [blame]
Graf Yang6b3087c2009-01-07 23:14:39 +08001/*
Robin Getz96f10502009-09-24 14:11:24 +00002 * Copyright 2007-2009 Analog Devices Inc.
3 * Philippe Gerum <rpm@xenomai.org>
Graf Yang6b3087c2009-01-07 23:14:39 +08004 *
Robin Getz96f10502009-09-24 14:11:24 +00005 * Licensed under the GPL-2 or later.
Graf Yang6b3087c2009-01-07 23:14:39 +08006 */
7
8#ifndef __ASM_BLACKFIN_CPU_H
9#define __ASM_BLACKFIN_CPU_H
10
11#include <linux/percpu.h>
12
13struct task_struct;
14
15struct blackfin_cpudata {
16 struct cpu cpu;
17 struct task_struct *idle;
Graf Yang6b3087c2009-01-07 23:14:39 +080018 unsigned int imemctl;
19 unsigned int dmemctl;
Graf Yang6b3087c2009-01-07 23:14:39 +080020 unsigned long dcache_invld_count;
Sonic Zhang47e9ded2009-06-10 08:57:08 +000021 unsigned long icache_invld_count;
Graf Yang6b3087c2009-01-07 23:14:39 +080022};
23
24DECLARE_PER_CPU(struct blackfin_cpudata, cpu_data);
25
26#endif