/kern_oII/arch/arm/mach-s3c24a0/include/mach/tick.h

http://omnia2droid.googlecode.com/ · C++ Header · 15 lines · 5 code · 2 blank · 8 comment · 0 complexity · 00c15460ce5441efc1619a14bd4d4fd0 MD5 · raw file

  1. /* linux/arch/arm/mach-s3c24a0/include/mach/tick.h
  2. *
  3. * Copyright 2008 Simtec Electronics
  4. * Ben Dooks <ben@simtec.co.uk>
  5. * http://armlinux.simtec.co.uk/
  6. *
  7. * S3C24A0 - timer tick support
  8. */
  9. #define SUBSRC_TIMER4 (1 << (IRQ_TIMER4 - IRQ_S3CUART_RX0))
  10. static inline int s3c24xx_ostimer_pending(void)
  11. {
  12. return __raw_readl(S3C2410_SUBSRCPND) & SUBSRC_TIMER4;
  13. }