sched: make kernel/sched.c:account_guest_time() static
account_guest_time() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
3529a23342
commit
f7402e0361
@ -3355,7 +3355,7 @@ void account_user_time(struct task_struct *p, cputime_t cputime)
|
|||||||
* @p: the process that the cpu time gets accounted to
|
* @p: the process that the cpu time gets accounted to
|
||||||
* @cputime: the cpu time spent in virtual machine since the last update
|
* @cputime: the cpu time spent in virtual machine since the last update
|
||||||
*/
|
*/
|
||||||
void account_guest_time(struct task_struct *p, cputime_t cputime)
|
static void account_guest_time(struct task_struct *p, cputime_t cputime)
|
||||||
{
|
{
|
||||||
cputime64_t tmp;
|
cputime64_t tmp;
|
||||||
struct cpu_usage_stat *cpustat = &kstat_this_cpu.cpustat;
|
struct cpu_usage_stat *cpustat = &kstat_this_cpu.cpustat;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user