blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / blackfin / include / asm / cpu.h
blobe349631c8299fa87f7bfca5fca507d0520718de8
1 /*
2 * Copyright 2007-2009 Analog Devices Inc.
3 * Philippe Gerum <rpm@xenomai.org>
5 * Licensed under the GPL-2 or later.
6 */
8 #ifndef __ASM_BLACKFIN_CPU_H
9 #define __ASM_BLACKFIN_CPU_H
11 #include <linux/percpu.h>
13 struct blackfin_cpudata {
14 struct cpu cpu;
15 unsigned int imemctl;
16 unsigned int dmemctl;
17 #ifdef CONFIG_SMP
18 struct task_struct *idle;
19 #endif
22 DECLARE_PER_CPU(struct blackfin_cpudata, cpu_data);
24 #endif