blob: 4752c3a6a7089580eaf6b18333f26eadc94e18c8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASMi386_TIMER_H
2#define _ASMi386_TIMER_H
3#include <linux/init.h>
Shaohua Lic3c433e2005-09-03 15:57:07 -07004#include <linux/pm.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
Linus Torvalds1da177e2005-04-16 15:20:36 -07006#define TICK_SIZE (tick_nsec / 1000)
Linus Torvalds1da177e2005-04-16 15:20:36 -07007void setup_pit_timer(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -07008/* Modifiers for buggy PIT handling */
Linus Torvalds1da177e2005-04-16 15:20:36 -07009extern int pit_latch_buggy;
Linus Torvalds1da177e2005-04-16 15:20:36 -070010extern int timer_ack;
Zachary Amsden7ce0bcf2007-02-13 13:26:21 +010011extern int no_timer_check;
Zachary Amsdenbbab4f32007-02-13 13:26:21 +010012extern unsigned long long (*custom_sched_clock)(void);
13extern int no_sync_cmos_clock;
Dave Jonesc5d28fb2005-05-31 19:03:46 -070014extern int recalibrate_cpu_khz(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Linus Torvalds1da177e2005-04-16 15:20:36 -070016#endif