aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-29 21:18:10 +0100
committerIngo Molnar <mingo@elte.hu>2007-10-29 21:18:10 +0100
commitf7402e0361d4472535e07cfca648f2fa81d85cd2 (patch)
treeb412891cf8ee217fcac82cf21a0d2039715859fc
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>
-rw-r--r--kernel/sched.c2
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)
* @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;