diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2009-11-24 20:04:21 +1100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-12-05 01:05:39 +0100 |
commit | 1c409bc7101a24ecd47a13a4e851845d66dc23ce (patch) | |
tree | 0ecc055ef81130abc919cc2123974304dfa75b9e /lib_i386/interrupts.c | |
parent | cabe5794803fbe18bedac2d9c7f2417a0fa95ec1 (diff) | |
download | u-boot-imx-1c409bc7101a24ecd47a13a4e851845d66dc23ce.zip u-boot-imx-1c409bc7101a24ecd47a13a4e851845d66dc23ce.tar.gz u-boot-imx-1c409bc7101a24ecd47a13a4e851845d66dc23ce.tar.bz2 |
i386: Final Relocation
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'lib_i386/interrupts.c')
-rw-r--r-- | lib_i386/interrupts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_i386/interrupts.c b/lib_i386/interrupts.c index efbad72..51def59 100644 --- a/lib_i386/interrupts.c +++ b/lib_i386/interrupts.c @@ -70,12 +70,12 @@ void irq_install_handler(int irq, interrupt_handler_t *handler, void *arg) if (irq_handlers[irq].handler != NULL) printf("irq_install_handler: 0x%08lx replacing 0x%08lx\n", - (ulong) handler + gd->reloc_off, + (ulong) handler, (ulong) irq_handlers[irq].handler); status = disable_interrupts (); - irq_handlers[irq].handler = handler + gd->reloc_off; + irq_handlers[irq].handler = handler; irq_handlers[irq].arg = arg; irq_handlers[irq].count = 0; |