sched: Export account_system_vtime()
authorIngo Molnar <mingo@elte.hu>
Mon, 18 Oct 2010 18:00:37 +0000 (20:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 18 Oct 2010 18:52:30 +0000 (20:52 +0200)
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>
kernel/sched.c

index 567f5cb9808cb1dc94c11f5e9d8c34aa465fd876..5998222f901c84cbc2984fb87961a389f62e3ce1 100644 (file)
@@ -1991,6 +1991,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)
 {