lkml.org 
[lkml]   [2017]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 11/18] x86/asm/64: Pass sp0 directly to load_sp0()
    On Thu, Oct 26, 2017 at 01:26:43AM -0700, Andy Lutomirski wrote:
    > load_sp0() had an odd signature:
    >
    > void load_sp0(struct tss_struct *tss, struct thread_struct *thread);
    >
    > Simplify it to:
    >
    > void load_sp0(unsigned long sp0);
    >
    > Signed-off-by: Andy Lutomirski <luto@kernel.org>
    > ---
    > arch/x86/include/asm/paravirt.h | 5 ++---
    > arch/x86/include/asm/paravirt_types.h | 2 +-
    > arch/x86/include/asm/processor.h | 9 ++++-----
    > arch/x86/kernel/cpu/common.c | 4 ++--
    > arch/x86/kernel/process_32.c | 2 +-
    > arch/x86/kernel/process_64.c | 2 +-
    > arch/x86/kernel/vm86_32.c | 14 ++++++--------
    > arch/x86/xen/enlighten_pv.c | 7 +++----
    > 8 files changed, 20 insertions(+), 25 deletions(-)

    Reviewed-by: Borislav Petkov <bp@suse.de>

    --
    Regards/Gruss,
    Boris.

    SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
    --

    \
     
     \ /
      Last update: 2017-10-28 20:20    [W:2.920 / U:0.680 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site