mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-07 15:15:29 +00:00
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 <Laurent.Vivier@bull.net> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
9da8f4e83a
commit
83d87d1673
1 changed files with 0 additions and 1 deletions
|
@ -3375,7 +3375,6 @@ void account_system_time(struct task_struct *p, int hardirq_offset,
|
||||||
|
|
||||||
if (p->flags & PF_VCPU) {
|
if (p->flags & PF_VCPU) {
|
||||||
account_guest_time(p, cputime);
|
account_guest_time(p, cputime);
|
||||||
p->flags &= ~PF_VCPU;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue