diff options
author | Laurent Vivier <Laurent.Vivier@bull.net> | 2007-10-18 09:19:01 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-22 06:03:29 -0400 |
commit | 83d87d167367ae2cc2c6810399aefac33a2ced41 (patch) | |
tree | b5b2c9850c7a4804b38590adc6588ad1b253e0fe /kernel/sched.c | |
parent | 9da8f4e83a824dabf3fb7ad0890549257ae614a0 (diff) |
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>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
3375 | 3375 | ||
3376 | if (p->flags & PF_VCPU) { | 3376 | if (p->flags & PF_VCPU) { |
3377 | account_guest_time(p, cputime); | 3377 | account_guest_time(p, cputime); |
3378 | p->flags &= ~PF_VCPU; | ||
3379 | return; | 3378 | return; |
3380 | } | 3379 | } |
3381 | 3380 | ||