1/* 2 * Copyright 2007-2009 Analog Devices Inc. 3 * Philippe Gerum <rpm@xenomai.org> 4 * 5 * Licensed under the GPL-2 or later. 6 */ 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; 18 unsigned int imemctl; 19 unsigned int dmemctl; 20 unsigned long dcache_invld_count; 21 unsigned long icache_invld_count; 22}; 23 24DECLARE_PER_CPU(struct blackfin_cpudata, cpu_data); 25 26#endif 27