lkml.org 
[lkml]   [2008]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
Mike Travis wrote:
> @@ -132,6 +133,12 @@ ident_complete:
> #ifdef CONFIG_SMP
> addq %rbp, trampoline_level4_pgt + 0(%rip)
> addq %rbp, trampoline_level4_pgt + (511*8)(%rip)
> +
> + /*
> + * Fix up per_cpu__gdt_page offset when basing percpu
> + * variables at zero. This is only needed for the boot cpu.
> + */
> + addq $__per_cpu_load, early_gdt_descr_base
>

This needs to be rip-relative. An absolute reference here will fail
because you're still running in physical addresses.

J


\
 
 \ /
  Last update: 2008-06-20 00:27    [W:0.286 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site