aboutsummaryrefslogblamecommitdiffstats
path: root/arch/arm/mach-s3c24a0/include/mach/tick.h
blob: 9dea8ba6fb727cc8177e402ce6ce1dd6fd691d44 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                              
/* linux/arch/arm/mach-s3c24a0/include/mach/tick.h
 *
 * Copyright 2008 Simtec Electronics
 *      Ben Dooks <ben@simtec.co.uk>
 *      http://armlinux.simtec.co.uk/
 *
 * S3C24A0 - timer tick support
 */

#define SUBSRC_TIMER4	(1 << (IRQ_TIMER4 - IRQ_S3CUART_RX0))

static inline int s3c24xx_ostimer_pending(void)
{
	return __raw_readl(S3C2410_SUBSRCPND) & SUBSRC_TIMER4;
}