Tony Breeds 81a3843f97 [POWERPC] Fix hardware IRQ time accounting problem.
The commit fa13a5a1f25f671d084d8884be96fc48d9b68275 (sched: restore
deterministic CPU accounting on powerpc), unconditionally calls
update_process_tick() in system context.  In the deterministic
accounting case this is the correct thing to do.  However, in the
non-deterministic accounting case we need to not do this, since doing
this results in the time accounted as hardware irq time being
artificially elevated.

Also this collapses 2 consecutive '#ifdef CONFIG_VIRT_CPU_ACCOUNTING'
checks in time.h into one for neatness.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-12-06 16:08:59 +11:00
..
2007-05-11 05:38:25 -04:00
2007-10-19 23:22:55 +02:00
2007-10-22 21:19:59 +02:00
2007-10-22 21:19:59 +02:00
2007-10-22 21:19:59 +02:00
2007-10-19 23:22:55 +02:00
2007-10-16 09:43:10 -07:00
2006-12-11 16:35:07 +11:00
2007-05-08 13:40:31 +10:00
2006-08-08 17:08:56 +10:00
2007-10-03 11:48:44 +10:00
2007-11-08 14:15:33 +11:00
2007-10-16 09:42:49 -07:00
2007-10-17 08:42:55 -07:00
2007-10-17 08:42:55 -07:00
2007-10-11 14:36:47 +10:00