aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-29 16:18:10 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-29 16:18:10 -0400
commitf7402e0361d4472535e07cfca648f2fa81d85cd2 (patch)
treeb412891cf8ee217fcac82cf21a0d2039715859fc /kernel/sched.c
parent3529a233421fc43fa7bfdf7a4317daf28348a23d (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/sched.c')
-rw-r--r--kernel/sched.c2
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)
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 */
3358void account_guest_time(struct task_struct *p, cputime_t cputime) 3358static 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;