RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-s3c24a0 / include / mach / tick.h
blob9dea8ba6fb727cc8177e402ce6ce1dd6fd691d44
1 /* linux/arch/arm/mach-s3c24a0/include/mach/tick.h
3 * Copyright 2008 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
5 * http://armlinux.simtec.co.uk/
7 * S3C24A0 - timer tick support
8 */
10 #define SUBSRC_TIMER4 (1 << (IRQ_TIMER4 - IRQ_S3CUART_RX0))
12 static inline int s3c24xx_ostimer_pending(void)
14 return __raw_readl(S3C2410_SUBSRCPND) & SUBSRC_TIMER4;