You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
364 B
15 lines
364 B
/* linux/arch/arm/mach-s3c2410/include/mach/tick.h
|
|
*
|
|
* Copyright 2008 Simtec Electronics
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
* http://armlinux.simtec.co.uk/
|
|
*
|
|
* S3C2410 - timer tick support
|
|
*/
|
|
|
|
#define SRCPND_TIMER4 (1<<(IRQ_TIMER4 - IRQ_EINT0))
|
|
|
|
static inline int s3c24xx_ostimer_pending(void)
|
|
{
|
|
return __raw_readl(S3C2410_SRCPND) & SRCPND_TIMER4;
|
|
}
|
|
|