[PATCH 22/28] sched: Export account_system_vtime()

From: stable-bot for Ingo Molnar
Date: Thu Feb 10 2011 - 07:25:31 EST


Commit: b7dadc38797584f6203386da1947ed5edf516646 upstream
Author: Ingo Molnar <mingo@xxxxxxx>
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 <venki@xxxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
LKML-Reference: <1286237003-12406-3-git-send-email-venki@xxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Mike Galbraith <efault@xxxxxx>
Acked-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
---
kernel/sched.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index c7f69fe..c8272e7 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -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)
{
--
1.7.4


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/