diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-10-18 14:00:37 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-10-18 14:52:30 -0400 |
commit | b7dadc38797584f6203386da1947ed5edf516646 (patch) | |
tree | 7598dbfaa7b2515da697c740c87d0a98e950b8c7 /kernel/sched.c | |
parent | d267f87fb8179c6dba03d08b91952e81bc3723c7 (diff) |
sched: Export account_system_vtime()
KVM uses it for example:
ERROR: "account_system_vtime" [arch/x86/kvm/kvm.ko] undefined!
Cc: Venkatesh Pallipadi <venki@google.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1286237003-12406-3-git-send-email-venki@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 567f5cb9808c..5998222f901c 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -1991,6 +1991,7 @@ void account_system_vtime(struct task_struct *curr) | |||
1991 | 1991 | ||
1992 | local_irq_restore(flags); | 1992 | local_irq_restore(flags); |
1993 | } | 1993 | } |
1994 | EXPORT_SYMBOL_GPL(account_system_vtime); | ||
1994 | 1995 | ||
1995 | static void sched_irq_time_avg_update(struct rq *rq, u64 curr_irq_time) | 1996 | static void sched_irq_time_avg_update(struct rq *rq, u64 curr_irq_time) |
1996 | { | 1997 | { |