mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
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
|
||||
* @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;
|
||||
struct cpu_usage_stat *cpustat = &kstat_this_cpu.cpustat;
|
||||
|
Loading…
Reference in New Issue
Block a user