diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-29 21:18:10 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-29 21:18:10 +0100 |
commit | f7402e0361d4472535e07cfca648f2fa81d85cd2 (patch) | |
tree | b412891cf8ee217fcac82cf21a0d2039715859fc /kernel/sched.c | |
parent | 3529a233421fc43fa7bfdf7a4317daf28348a23d (diff) | |
download | linux-f7402e0361d4472535e07cfca648f2fa81d85cd2.tar.gz linux-f7402e0361d4472535e07cfca648f2fa81d85cd2.tar.bz2 linux-f7402e0361d4472535e07cfca648f2fa81d85cd2.zip |
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>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index b4fbbc440453..74dbb4020cf5 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -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; |