Skip to contentSkip to conversation

sched: Export account_system_vtime()

PATCH New stable-bot for Ingo Molnar 1 participant 1 message Feb 10, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 22/28 sched: Export account_system_vtime()

Commit: b7dadc38797584f6203386da1947ed5edf516646 upstream
Author: Ingo Molnar <[email protected]>
AuthorDate: Mon Oct 18 20:00:37 2010 +0200

KVM uses it for example:

ERROR: "account_system_vtime" [arch/x86/kvm/kvm.ko] undefined!

Cc: Venkatesh Pallipadi <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>

---
 kernel/sched.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
kernel/sched.c +1 -0
index c7f69fe..c8272e7 100644
@@ -1889,6 +1889,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)
 {
Signature · 1 line
1.7.4