Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f04c9d78 authored by Steve Muckle's avatar Steve Muckle
Browse files

sched: add stub for sched_set_io_is_busy



The sched_set_io_is_busy function is used by an upcoming
cpufreq patch but the functionality is not complete yet.

Until the actual implementation is complete, idle cycles
will not be accounted as busy time when the CPU becomes
idle as a result of an io_schedule() call.

Change-Id: I2dacbffa491a2f768a4389f88e1fd2d148eaae7c
Signed-off-by: default avatarSteve Muckle <smuckle@codeaurora.org>
parent 8f7e5b8e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1716,6 +1716,7 @@ extern void thread_group_cputime_adjusted(struct task_struct *p, cputime_t *ut,
extern int task_free_register(struct notifier_block *n);
extern int task_free_unregister(struct notifier_block *n);
extern int sched_set_window(u64 window_start, unsigned int window_size);
static inline void sched_set_io_is_busy(int val) {};
extern unsigned long sched_get_busy(int cpu);

/*