x86: Don't copy the cpu_call64() function to a hardcoded address
[oweals/u-boot.git] / arch / x86 / cpu / i386 / call64.S
index 8f86728d42d5a1abe4bac6089ae63abcc9183e3b..275063c4af8c17fb78074003478daf0ef892da2c 100644 (file)
@@ -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