diff options
author | Laurent Vivier <Laurent.Vivier@bull.net> | 2007-10-18 15:19:01 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-22 12:03:29 +0200 |
commit | 83d87d167367ae2cc2c6810399aefac33a2ced41 (patch) | |
tree | b5b2c9850c7a4804b38590adc6588ad1b253e0fe /kernel | |
parent | 9da8f4e83a824dabf3fb7ad0890549257ae614a0 (diff) | |
download | linux-83d87d167367ae2cc2c6810399aefac33a2ced41.tar.bz2 |
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')
-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, if (p->flags & PF_VCPU) { account_guest_time(p, cputime); - p->flags &= ~PF_VCPU; return; } |