summaryrefslogtreecommitdiff
path: root/arch/x86/lib/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/timer.c')
-rw-r--r--arch/x86/lib/timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/timer.c b/arch/x86/lib/timer.c
index 1f8ce60..fb11bfe 100644
--- a/arch/x86/lib/timer.c
+++ b/arch/x86/lib/timer.c
@@ -30,6 +30,8 @@
#include <asm/i8254.h>
#include <asm/ibmpc.h>
+DECLARE_GLOBAL_DATA_PTR;
+
struct timer_isr_function {
struct timer_isr_function *next;
timer_fnc_t *isr_func;