summaryrefslogtreecommitdiff
path: root/lib_i386/timer.c
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2009-02-24 21:14:56 +1100
committerWolfgang Denk <wd@denx.de>2009-03-20 22:39:13 +0100
commite17ee157ca9ff0d4cc5841d06c4b70c1603df29c (patch)
treeb86269e5e8d1b944250fdf4b98d3bed066ba7f92 /lib_i386/timer.c
parent8c63d47651f77d9fb887cad433370b866eb0a193 (diff)
downloadu-boot-imx-e17ee157ca9ff0d4cc5841d06c4b70c1603df29c.zip
u-boot-imx-e17ee157ca9ff0d4cc5841d06c4b70c1603df29c.tar.gz
u-boot-imx-e17ee157ca9ff0d4cc5841d06c4b70c1603df29c.tar.bz2
Add basic relocation to i386 port
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
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;
/*