Messages in this thread | | | Date | Thu, 19 Jun 2008 15:23:47 -0700 | From | Jeremy Fitzhardinge <> | Subject | Re: [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
| |