Merge tag 'pm+acpi-4.2-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[linux/fpc-iii.git] / arch / s390 / include / asm / idle.h
blob113cd963dbbef445b99fc6d51fe74171bdcc4e4e
1 /*
2 * Copyright IBM Corp. 2014
4 * Author: Martin Schwidefsky <schwidefsky@de.ibm.com>
5 */
7 #ifndef _S390_IDLE_H
8 #define _S390_IDLE_H
10 #include <linux/types.h>
11 #include <linux/device.h>
12 #include <linux/seqlock.h>
14 struct s390_idle_data {
15 seqcount_t seqcount;
16 unsigned long long idle_count;
17 unsigned long long idle_time;
18 unsigned long long clock_idle_enter;
19 unsigned long long clock_idle_exit;
20 unsigned long long timer_idle_enter;
21 unsigned long long timer_idle_exit;
24 extern struct device_attribute dev_attr_idle_count;
25 extern struct device_attribute dev_attr_idle_time_us;
27 #endif /* _S390_IDLE_H */