diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-29 16:18:10 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-29 16:18:10 -0400 |
commit | f7402e0361d4472535e07cfca648f2fa81d85cd2 (patch) | |
tree | b412891cf8ee217fcac82cf21a0d2039715859fc /kernel | |
parent | 3529a233421fc43fa7bfdf7a4317daf28348a23d (diff) |
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')
-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 b4fbbc44045..74dbb4020cf 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -3355,7 +3355,7 @@ void account_user_time(struct task_struct *p, cputime_t cputime) | |||
3355 | * @p: the process that the cpu time gets accounted to | 3355 | * @p: the process that the cpu time gets accounted to |
3356 | * @cputime: the cpu time spent in virtual machine since the last update | 3356 | * @cputime: the cpu time spent in virtual machine since the last update |
3357 | */ | 3357 | */ |
3358 | void account_guest_time(struct task_struct *p, cputime_t cputime) | 3358 | static void account_guest_time(struct task_struct *p, cputime_t cputime) |
3359 | { | 3359 | { |
3360 | cputime64_t tmp; | 3360 | cputime64_t tmp; |
3361 | struct cpu_usage_stat *cpustat = &kstat_this_cpu.cpustat; | 3361 | struct cpu_usage_stat *cpustat = &kstat_this_cpu.cpustat; |