summaryrefslogtreecommitdiffstats
path: root/uClinux-2.4.20-uc1/kernel/timer.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2011-03-14 11:05:41 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2011-03-14 11:05:41 (GMT)
commit55c7dbdfc8e7fb6e2cbd11f80a8915a95ab71e72 (patch)
tree8211c6811766895a449bd11cec23ba8deba5d37b /uClinux-2.4.20-uc1/kernel/timer.c
parentc5ed56c50061cfaadb6dfa80f0107a605ae1f630 (diff)
downloadopenipcam-55c7dbdfc8e7fb6e2cbd11f80a8915a95ab71e72.zip
openipcam-55c7dbdfc8e7fb6e2cbd11f80a8915a95ab71e72.tar.gz
openipcam-55c7dbdfc8e7fb6e2cbd11f80a8915a95ab71e72.tar.bz2
changes needed to make uClinux-2.4.20-uc1 compliant BSP build
Diffstat (limited to 'uClinux-2.4.20-uc1/kernel/timer.c')
-rw-r--r--uClinux-2.4.20-uc1/kernel/timer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/uClinux-2.4.20-uc1/kernel/timer.c b/uClinux-2.4.20-uc1/kernel/timer.c
index 1c626d5..43bbd5f 100644
--- a/uClinux-2.4.20-uc1/kernel/timer.c
+++ b/uClinux-2.4.20-uc1/kernel/timer.c
@@ -698,6 +698,9 @@ void timer_bh(void)
void do_timer(struct pt_regs *regs)
{
+#ifdef CONFIG_BOARD_W90N745
+ CSR_WRITE(TISR,1); /* clear TIF0 */ //mcli 2
+#endif
(*(unsigned long *)&jiffies)++;
#ifndef CONFIG_SMP
/* SMP process accounting uses the local APIC timer */