summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2011-02-10 10:23:28 +0100
committerAK <andi@firstfloor.org>2011-03-31 11:58:01 -0700
commit0ca4534301c1bd86d00e3ba6beeef045a606e0c5 (patch)
tree64fc3532aec284f69a4a5701c6ae369053448ec3 /kernel
parent70f43fbf43440db130a7e3daeb276e29ed9a8f80 (diff)
sched: Export account_system_vtime()
Commit: b7dadc38797584f6203386da1947ed5edf516646 upstream 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> Signed-off-by: Mike Galbraith <efault@gmx.de> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index c7a66a3ebc7c..4730dff25740 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1901,6 +1901,7 @@ void account_system_vtime(struct task_struct *curr)
local_irq_restore(flags);
}
+EXPORT_SYMBOL_GPL(account_system_vtime);
static void sched_irq_time_avg_update(struct rq *rq, u64 curr_irq_time)
{