Skip to content

Commit

Permalink
sched: don't clear PF_VCPU in scheduler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Vivier authored and Avi Kivity committed Oct 22, 2007
1 parent 9da8f4e commit 83d87d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 83d87d1

Please sign in to comment.