]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sched: Export account_system_vtime()
authorIngo Molnar <mingo@elte.hu>
Thu, 10 Feb 2011 09:23:28 +0000 (10:23 +0100)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:58:01 +0000 (11:58 -0700)
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>
kernel/sched.c

index c7a66a3ebc7c4bc93e38bce1c0a172d0f2c89bce..4730dff257405f384008608bf0710bcae435726e 100644 (file)
@@ -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)
 {