diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-arm/arch-clps711x/time.h | 3 | ||||
| -rw-r--r-- | include/asm-arm/arch-integrator/time.h | 3 | ||||
| -rw-r--r-- | include/asm-arm/arch-l7200/time.h | 3 | ||||
| -rw-r--r-- | include/asm-i386/mach-default/do_timer.h | 3 | ||||
| -rw-r--r-- | include/asm-i386/mach-visws/do_timer.h | 3 | ||||
| -rw-r--r-- | include/asm-i386/mach-voyager/do_timer.h | 3 |
6 files changed, 18 insertions, 0 deletions
diff --git a/include/asm-arm/arch-clps711x/time.h b/include/asm-arm/arch-clps711x/time.h index 10d1038f3cfd..9cb27cd4e6ae 100644 --- a/include/asm-arm/arch-clps711x/time.h +++ b/include/asm-arm/arch-clps711x/time.h @@ -30,6 +30,9 @@ p720t_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) { do_leds(); do_timer(regs); +#ifndef CONFIG_SMP + update_process_times(user_mode(regs)); +#endif do_profile(regs); return IRQ_HANDLED; } diff --git a/include/asm-arm/arch-integrator/time.h b/include/asm-arm/arch-integrator/time.h index 2ecbfa7f1259..01729e4d0644 100644 --- a/include/asm-arm/arch-integrator/time.h +++ b/include/asm-arm/arch-integrator/time.h @@ -107,6 +107,9 @@ integrator_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) do_leds(); do_timer(regs); +#ifndef CONFIG_SMP + update_process_times(user_mode(regs)); +#endif do_profile(regs); return IRQ_HANDLED; diff --git a/include/asm-arm/arch-l7200/time.h b/include/asm-arm/arch-l7200/time.h index 31d791ac1d8c..7b98b533e63a 100644 --- a/include/asm-arm/arch-l7200/time.h +++ b/include/asm-arm/arch-l7200/time.h @@ -46,6 +46,9 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) { do_timer(regs); +#ifndef CONFIG_SMP + update_process_times(user_mode(regs)); +#endif do_profile(regs); RTC_RTCC = 0; /* Clear interrupt */ diff --git a/include/asm-i386/mach-default/do_timer.h b/include/asm-i386/mach-default/do_timer.h index 9eb6c9dde893..03dd13a48a8c 100644 --- a/include/asm-i386/mach-default/do_timer.h +++ b/include/asm-i386/mach-default/do_timer.h @@ -16,6 +16,9 @@ static inline void do_timer_interrupt_hook(struct pt_regs *regs) { do_timer(regs); +#ifndef CONFIG_SMP + update_process_times(user_mode(regs)); +#endif /* * In the SMP case we use the local APIC timer interrupt to do the * profiling, except when we simulate SMP mode on a uniprocessor diff --git a/include/asm-i386/mach-visws/do_timer.h b/include/asm-i386/mach-visws/do_timer.h index 17287326962e..33acd50fd9a8 100644 --- a/include/asm-i386/mach-visws/do_timer.h +++ b/include/asm-i386/mach-visws/do_timer.h @@ -9,6 +9,9 @@ static inline void do_timer_interrupt_hook(struct pt_regs *regs) co_cpu_write(CO_CPU_STAT,co_cpu_read(CO_CPU_STAT) & ~CO_STAT_TIMEINTR); do_timer(regs); +#ifndef CONFIG_SMP + update_process_times(user_mode(regs)); +#endif /* * In the SMP case we use the local APIC timer interrupt to do the * profiling, except when we simulate SMP mode on a uniprocessor diff --git a/include/asm-i386/mach-voyager/do_timer.h b/include/asm-i386/mach-voyager/do_timer.h index 75c642f9af74..ae510e5d0d78 100644 --- a/include/asm-i386/mach-voyager/do_timer.h +++ b/include/asm-i386/mach-voyager/do_timer.h @@ -4,6 +4,9 @@ static inline void do_timer_interrupt_hook(struct pt_regs *regs) { do_timer(regs); +#ifndef CONFIG_SMP + update_process_times(user_mode(regs)); +#endif voyager_timer_interrupt(regs); } |
