X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-i386%2Ftimer.h;h=aed16437479d91ecf5d2a3b87be996c39573316c;hb=0b60afba5397a3e63264463cde49426d8dcb0de4;hp=c347098498397e67c1bf66453806ef3f7c811037;hpb=7f6a57a907c8655e78a654ab62da86e61ef7f2c9;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-i386/timer.h b/include/asm-i386/timer.h index c3470984983..aed16437479 100644 --- a/include/asm-i386/timer.h +++ b/include/asm-i386/timer.h @@ -1,6 +1,7 @@ #ifndef _ASMi386_TIMER_H #define _ASMi386_TIMER_H #include +#include /** * struct timer_ops - used to define a timer source @@ -22,6 +23,9 @@ struct timer_opts { unsigned long (*get_offset)(void); unsigned long long (*monotonic_clock)(void); void (*delay)(unsigned long); + unsigned long (*read_timer)(void); + int (*suspend)(pm_message_t state); + int (*resume)(void); }; struct init_timer_opts { @@ -52,6 +56,7 @@ extern struct init_timer_opts timer_cyclone_init; #endif extern unsigned long calibrate_tsc(void); +extern unsigned long read_timer_tsc(void); extern void init_cpu_khz(void); extern int recalibrate_cpu_khz(void); #ifdef CONFIG_HPET_TIMER