diff options
| author | Meizu OpenSource <patchwork@meizu.com> | 2016-08-15 10:19:42 +0800 |
|---|---|---|
| committer | Meizu OpenSource <patchwork@meizu.com> | 2016-08-15 10:19:42 +0800 |
| commit | d2e1446d81725c351dc73a03b397ce043fb18452 (patch) | |
| tree | 4dbc616b7f92aea39cd697a9084205ddb805e344 /include/linux/rq_stats.h | |
| download | android_kernel_m2note-d2e1446d81725c351dc73a03b397ce043fb18452.tar.gz | |
first commit
Diffstat (limited to 'include/linux/rq_stats.h')
| -rw-r--r-- | include/linux/rq_stats.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/linux/rq_stats.h b/include/linux/rq_stats.h new file mode 100644 index 000000000..0accf3889 --- /dev/null +++ b/include/linux/rq_stats.h @@ -0,0 +1,32 @@ +/* Copyright (c) 2011, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +struct rq_data { + unsigned int rq_avg; + unsigned long rq_poll_jiffies; + unsigned long def_timer_jiffies; + unsigned long rq_poll_last_jiffy; + unsigned long rq_poll_total_jiffies; + unsigned long def_timer_last_jiffy; + unsigned int def_interval; + unsigned int hotplug_disabled; + int64_t def_start_time; + struct attribute_group *attr_group; + struct kobject *kobj; + struct work_struct def_timer_work; + int init; +}; + +extern spinlock_t rq_lock; +extern struct rq_data rq_info; +extern struct workqueue_struct *rq_wq; |
