lkml.org 
[lkml]   [2009]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2009-02-11 23:55    [W:0.469 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site