aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2004-10-18 18:13:23 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-18 18:13:23 -0700
commitd2fe1abb63c0fc5c31023b16b7c0f2ce316525de (patch)
treeceb87acecbaf87bff3658b438895db1bb8a4b556 /kernel
parente979196eec1ff90b88e1476d43f20199be061fd8 (diff)
downloadhistory-d2fe1abb63c0fc5c31023b16b7c0f2ce316525de.tar.gz
[PATCH] cleanup: move call to update_process_times.
For non-smp kernels the call to update_process_times is done in the do_timer function. It is more consistent with smp kernels to move this call to the architecture file which calls do_timer. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/timer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index e3c9b5fcd52f56..ac9386e22bd332 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -959,11 +959,6 @@ static inline void update_times(void)
void do_timer(struct pt_regs *regs)
{
jiffies_64++;
-#ifndef CONFIG_SMP
- /* SMP process accounting uses the local APIC timer */
-
- update_process_times(user_mode(regs));
-#endif
update_times();
}