summaryrefslogtreecommitdiff
path: root/lib_i386/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_i386/timer.c')
-rw-r--r--lib_i386/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_i386/timer.c b/lib_i386/timer.c
index 5cb1f54..58a0212 100644
--- a/lib_i386/timer.c
+++ b/lib_i386/timer.c
@@ -51,7 +51,7 @@ int register_timer_isr (timer_fnc_t *isr_func)
if (new_func == NULL)
return 1;
- new_func->isr_func = isr_func;
+ new_func->isr_func = isr_func + gd->reloc_off;
new_func->next = NULL;
/*