blob: e349631c8299fa87f7bfca5fca507d0520718de8 [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
Graf Yang6b3087c2009-01-07 23:14:39 +080013struct blackfin_cpudata {
14 struct cpu cpu;
Graf Yang6b3087c2009-01-07 23:14:39 +080015 unsigned int imemctl;
16 unsigned int dmemctl;
Bob Liud0014be2011-12-12 11:04:05 +080017#ifdef CONFIG_SMP
18 struct task_struct *idle;
19#endif
Graf Yang6b3087c2009-01-07 23:14:39 +080020};
21
22DECLARE_PER_CPU(struct blackfin_cpudata, cpu_data);
23
24#endif