Messages in this thread | | | Date | Wed, 11 Feb 2009 23:53:03 +0100 | From | Jiri Slaby <> | Subject | Re: [PATCH 2/3] x86: Use linker to offset symbols by __per_cpu_load |
| |
On 02/09/2009 10:29 AM, Ingo Molnar wrote: > * Brian Gerst <brgerst@gmail.com> wrote: > >> Impact: cleanup and bug fix >> >> Use the linker to create symbols for certain per-cpu variables >> that are offset by __per_cpu_load. This allows the removal of >> the runtime fixup of the GDT pointer, which fixes a bug with >> resume reported by Jiri Slaby. >> >> Signed-off-by: Brian Gerst <brgerst@gmail.com> >> Cc: Jiri Slaby <jirislaby@gmail.com> >> --- >> arch/x86/include/asm/percpu.h | 22 ++++++++++++++++++++++ >> arch/x86/include/asm/processor.h | 2 ++ >> arch/x86/kernel/cpu/common.c | 6 +----- >> arch/x86/kernel/head_64.S | 21 ++------------------- >> arch/x86/kernel/vmlinux_64.lds.S | 8 ++++++++ >> 5 files changed, 35 insertions(+), 24 deletions(-) > > applied to tip/core/percpu, thanks! > > Also added these tags: > > Reported-by: Jiri Slaby <jirislaby@gmail.com> > Acked-by: Jiri Slaby <jirislaby@gmail.com>
Ok, fixes the problem for me, thanks.
| |