projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3529a23
)
sched: make kernel/sched.c:account_guest_time() static
author
Adrian Bunk
<
[email protected]
>
Mon, 29 Oct 2007 20:18:10 +0000
(21:18 +0100)
committer
Ingo Molnar
<
[email protected]
>
Mon, 29 Oct 2007 20:18:10 +0000
(21:18 +0100)
account_guest_time() can become static.
Signed-off-by: Adrian Bunk <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/sched.c
patch
|
blob
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index b4fbbc440453c8d76c686128fad818939d70740e..74dbb4020cf50a731e91f7a61906ab43eac306fc 100644
(file)
--- 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;