summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/i386/call64.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/i386/call64.S')
-rw-r--r--arch/x86/cpu/i386/call64.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/cpu/i386/call64.S b/arch/x86/cpu/i386/call64.S
index 8f86728d42..275063c4af 100644
--- a/arch/x86/cpu/i386/call64.S
+++ b/arch/x86/cpu/i386/call64.S
@@ -79,6 +79,10 @@ lret_target:
mov %eax, %eax /* Clear bits 63:32 */
jmp *%eax /* Jump to the 64-bit target */
+.globl call64_stub_size
+call64_stub_size:
+ .long . - cpu_call64
+
.data
.align 16
.globl gdt64