]> err.no Git - linux-2.6/commitdiff
sched: don't clear PF_VCPU in scheduler
authorLaurent Vivier <Laurent.Vivier@bull.net>
Thu, 18 Oct 2007 13:19:01 +0000 (15:19 +0200)
committerAvi Kivity <avi@qumranet.com>
Mon, 22 Oct 2007 10:03:29 +0000 (12:03 +0200)
KVM clears it by itself now, and for s390 this is plain wrong.

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Avi Kivity <avi@qumranet.com>
kernel/sched.c

index 7581e331b139cfb13a1be3c435735c9535a6b802..2810e562a9913d79aa510f31aa5db46a1b7fbf01 100644 (file)
@@ -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;
        }