summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/transitions/librm.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/transitions/librm.S')
-rw-r--r--src/arch/i386/transitions/librm.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/transitions/librm.S b/src/arch/i386/transitions/librm.S
index fbf3b2ac..b1f9dd59 100644
--- a/src/arch/i386/transitions/librm.S
+++ b/src/arch/i386/transitions/librm.S
@@ -192,7 +192,7 @@ real_to_prot:
movzwl %sp, %edx
movl %ebp, %eax
shll $4, %eax
- leal (%eax,%edx), %esi
+ addr32 leal (%eax,%edx), %esi
subl _virt_offset, %esi
/* Switch to protected mode */