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
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
arm
/
mach-iop3xx
/
iop331-time.c
diff --git
a/arch/arm/mach-iop3xx/iop331-time.c
b/arch/arm/mach-iop3xx/iop331-time.c
index
e016967
..
3c1f0eb
100644
(file)
--- a/
arch/arm/mach-iop3xx/iop331-time.c
+++ b/
arch/arm/mach-iop3xx/iop331-time.c
@@
-23,7
+23,6
@@
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
-#include <asm/mach-types.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
@@
-58,7
+57,7
@@
static unsigned long iop331_gettimeoffset(void)
/*
* Now convert them to usec.
*/
/*
* Now convert them to usec.
*/
- usec = (unsigned long)(elapsed
* (tick_nsec / 1000)) / LATCH
;
+ usec = (unsigned long)(elapsed
/ (CLOCK_TICK_RATE/1000000))
;
return usec;
}
return usec;
}
@@
-83,7
+82,7
@@
iop331_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
static struct irqaction iop331_timer_irq = {
.name = "IOP331 Timer Tick",
.handler = iop331_timer_interrupt,
static struct irqaction iop331_timer_irq = {
.name = "IOP331 Timer Tick",
.handler = iop331_timer_interrupt,
- .flags = SA_INTERRUPT
+ .flags = SA_INTERRUPT
| SA_TIMER,
};
static void __init iop331_timer_init(void)
};
static void __init iop331_timer_init(void)