From 83d87d167367ae2cc2c6810399aefac33a2ced41 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Thu, 18 Oct 2007 15:19:01 +0200 Subject: [PATCH] sched: don't clear PF_VCPU in scheduler KVM clears it by itself now, and for s390 this is plain wrong. Signed-off-by: Laurent Vivier Acked-by: Ingo Molnar Signed-off-by: Avi Kivity --- kernel/sched.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched.c b/kernel/sched.c index 7581e331b139..2810e562a991 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -3375,7 +3375,6 @@ void account_system_time(struct task_struct *p, int hardirq_offset, if (p->flags & PF_VCPU) { account_guest_time(p, cputime); - p->flags &= ~PF_VCPU; return; }