diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-05-18 01:37:44 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-18 01:37:49 -0400 |
commit | dc3f81b129b5439ba7bac265bbc6a51a39275dae (patch) | |
tree | 216030731d911249496d2e97206cd61431e31c89 /kernel/sched.c | |
parent | d2517a49d55536b38c7a87e5289550cfedaa4dcc (diff) | |
parent | 1406de8e11eb043681297adf86d6892ff8efc27a (diff) |
Merge commit 'v2.6.30-rc6' into perfcounters/core
Merge reason: this branch was on an -rc4 base, merge it up to -rc6
to get the latest upstream fixes.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index a728976a3a6c..419a39d0988f 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -4769,7 +4769,7 @@ void account_process_tick(struct task_struct *p, int user_tick) | |||
4769 | 4769 | ||
4770 | if (user_tick) | 4770 | if (user_tick) |
4771 | account_user_time(p, one_jiffy, one_jiffy_scaled); | 4771 | account_user_time(p, one_jiffy, one_jiffy_scaled); |
4772 | else if (p != rq->idle) | 4772 | else if ((p != rq->idle) || (irq_count() != HARDIRQ_OFFSET)) |
4773 | account_system_time(p, HARDIRQ_OFFSET, one_jiffy, | 4773 | account_system_time(p, HARDIRQ_OFFSET, one_jiffy, |
4774 | one_jiffy_scaled); | 4774 | one_jiffy_scaled); |
4775 | else | 4775 | else |