blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / mips / include / asm / idle.h
bloba2d18ab57ac608bcf3959863a7232330de08f2d7
1 #ifndef __ASM_IDLE_H
2 #define __ASM_IDLE_H
4 #include <linux/cpuidle.h>
5 #include <linux/linkage.h>
7 extern void (*cpu_wait)(void);
8 extern void r4k_wait(void);
9 extern asmlinkage void __r4k_wait(void);
10 extern void r4k_wait_irqoff(void);
12 static inline int using_rollback_handler(void)
14 return cpu_wait == r4k_wait;
17 extern int mips_cpuidle_wait_enter(struct cpuidle_device *dev,
18 struct cpuidle_driver *drv, int index);
20 #define MIPS_CPUIDLE_WAIT_STATE {\
21 .enter = mips_cpuidle_wait_enter,\
22 .exit_latency = 1,\
23 .target_residency = 1,\
24 .power_usage = UINT_MAX,\
25 .name = "wait",\
26 .desc = "MIPS wait",\
29 #endif /* __ASM_IDLE_H */