git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
mips
/
gt64120
/
common
/
time.c
diff --git
a/arch/mips/gt64120/common/time.c
b/arch/mips/gt64120/common/time.c
index
44f33ca
..
2287b59
100644
(file)
--- a/
arch/mips/gt64120/common/time.c
+++ b/
arch/mips/gt64120/common/time.c
@@
-36,6
+36,9
@@
static void gt64120_irq(int irq, void *dev_id, struct pt_regs *regs)
handled = 1;
irq_src &= ~0x00000800;
do_timer(regs);
handled = 1;
irq_src &= ~0x00000800;
do_timer(regs);
+#ifndef CONFIG_SMP
+ update_process_times(user_mode(regs));
+#endif
}
GT_WRITE(GT_INTRCAUSE_OFS, 0);
}
GT_WRITE(GT_INTRCAUSE_OFS, 0);
@@
-62,7
+65,6
@@
static void gt64120_irq(int irq, void *dev_id, struct pt_regs *regs)
*/
void gt64120_time_init(void)
{
*/
void gt64120_time_init(void)
{
- extern irq_desc_t irq_desc[NR_IRQS];
static struct irqaction timer;
/* Disable timer first */
static struct irqaction timer;
/* Disable timer first */