diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/i8253.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/i8253.h b/include/linux/i8253.h index 13048d33536..1ec6323a150 100644 --- a/include/linux/i8253.h +++ b/include/linux/i8253.h @@ -9,7 +9,9 @@ #ifndef __LINUX_I8253_H #define __LINUX_I8253_H +#include <linux/param.h> #include <linux/spinlock.h> +#include <linux/timex.h> #include <asm/i8253.h> /* i8253A PIT registers */ @@ -17,6 +19,8 @@ #define PIT_CH0 0x40 #define PIT_CH2 0x42 +#define PIT_LATCH ((PIT_TICK_RATE + HZ/2) / HZ) + #define inb_pit inb_p #define outb_pit outb_p |