#include <linux/spinlock.h>
#include <linux/hardirq.h>
-#include <asm/compiler.h>
#include <asm/mipsregs.h>
#include <asm/ptrace.h>
#include <asm/time.h>
kstat_this_cpu.irqs[irq]++;
do_timer(regs);
-#ifndef CONFIG_SMP
- update_process_times(user_mode(regs));
-#endif
r4k_cur += r4k_offset;
ack_r4ktimer(r4k_cur);
while (time_elapsed > 0) {
do_timer(regs);
-#ifndef CONFIG_SMP
- update_process_times(user_mode(regs));
-#endif
time_elapsed -= MATCH20_INC;
last_match20 += MATCH20_INC;
jiffie_drift++;
if (jiffie_drift >= 999) {
jiffie_drift -= 999;
do_timer(regs); /* increment jiffies by one */
-#ifndef CONFIG_SMP
- update_process_times(user_mode(regs));
-#endif
}
}
__asm__("multu\t%1,%2\n\t"
"mfhi\t%0"
- : "=r" (res)
- : "r" (count), "r" (quotient)
- : "hi", "lo", GCC_REG_ACCUM);
+ :"=r" (res)
+ :"r" (count),
+ "r" (quotient));
/*
* Due to possible jiffies inconsistencies, we need to check