msm-4.14/include/linux/rq_stats.h
Runmin Wang b27a7a3c4b soc: qcom: rq_stats: clean up the rq_stats
Remove unncessary function and data structure for rq_stats
since no driver relies on this information. Keep the defer_timer
kobj since irq balancer still needs this.

Change-Id: I20516fd7ed8496426ef75246c7b77c1937c696dc
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-11-07 18:28:41 -08:00

27 lines
867 B
C

/* Copyright (c) 2011,2013-2014,2017 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 long def_timer_jiffies;
unsigned long def_timer_last_jiffy;
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;