1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright IBM Corp. 2014
11 #include <linux/types.h>
12 #include <linux/device.h>
14 struct s390_idle_data {
15 unsigned long idle_count;
16 unsigned long idle_time;
17 unsigned long clock_idle_enter;
18 unsigned long timer_idle_enter;
19 unsigned long mt_cycles_enter[8];
22 extern struct device_attribute dev_attr_idle_count;
23 extern struct device_attribute dev_attr_idle_time_us;
25 void psw_idle(struct s390_idle_data *data, unsigned long psw_mask);
27 #endif /* _S390_IDLE_H */