]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sched: make kernel/sched.c:account_guest_time() static
authorAdrian Bunk <bunk@kernel.org>
Mon, 29 Oct 2007 20:18:10 +0000 (21:18 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 29 Oct 2007 20:18:10 +0000 (21:18 +0100)
account_guest_time() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c

index b4fbbc440453c8d76c686128fad818939d70740e..74dbb4020cf50a731e91f7a61906ab43eac306fc 100644 (file)
@@ -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;