aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c6400/include/mach/tick.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-10-21 09:07:01 -0400
committerBen Dooks <ben-linux@fluff.org>2008-12-15 16:54:16 -0500
commitc652d2ddb97ccdc4774e149ef998928263fd8886 (patch)
tree4233aa3f41c5e6fce27b07d59d2525553fc56554 /arch/arm/mach-s3c6400/include/mach/tick.h
parent4b31d8b2256db3ed825a63603f223f84d927ca39 (diff)
[ARM] S3C: Add TICK_MAX for timer code
Add TICK_MAX definition for the timer code as the S3C64XX series have 32bit capable PWM timers. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c6400/include/mach/tick.h')
-rw-r--r--arch/arm/mach-s3c6400/include/mach/tick.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6400/include/mach/tick.h b/arch/arm/mach-s3c6400/include/mach/tick.h
index 95e5ec92ee98..d9c0dc7014ec 100644
--- a/arch/arm/mach-s3c6400/include/mach/tick.h
+++ b/arch/arm/mach-s3c6400/include/mach/tick.h
@@ -24,4 +24,6 @@ static inline u32 s3c24xx_ostimer_pending(void)
24 return pend & 1 << (IRQ_TIMER4_VIC - S3C64XX_IRQ_VIC0(0)); 24 return pend & 1 << (IRQ_TIMER4_VIC - S3C64XX_IRQ_VIC0(0));
25} 25}
26 26
27#define TICK_MAX (0xffffffff)
28
27#endif /* __ASM_ARCH_6400_TICK_H */ 29#endif /* __ASM_ARCH_6400_TICK_H */