From: Laurent Vivier Date: Thu, 18 Oct 2007 13:19:01 +0000 (+0200) Subject: sched: don't clear PF_VCPU in scheduler X-Git-Tag: v2.6.24-rc1~59^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83d87d167367ae2cc2c6810399aefac33a2ced41;p=linux-2.6 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 --- diff --git a/kernel/sched.c b/kernel/sched.c index 7581e331b1..2810e562a9 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; }