summaryrefslogtreecommitdiff
path: root/arch/i386/lib/bios_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/lib/bios_setup.c')
-rw-r--r--arch/i386/lib/bios_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/lib/bios_setup.c b/arch/i386/lib/bios_setup.c
index 6491e52..a92b77e 100644
--- a/arch/i386/lib/bios_setup.c
+++ b/arch/i386/lib/bios_setup.c
@@ -141,7 +141,7 @@ static void setvector(int vector, u16 segment, void *handler)
int bios_setup(void)
{
- ulong i386boot_bios = (ulong)&_i386boot_bios;
+ ulong i386boot_bios = (ulong)&_i386boot_bios + gd->reloc_off;
ulong i386boot_bios_size = (ulong)&_i386boot_bios_size;
static int done=0;