lkml.org 
[lkml]   [2017]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 15/18] x86/asm/64: Remove all remaining direct thread_struct::sp0 reads
On Thu, Oct 26, 2017 at 01:26:47AM -0700, Andy Lutomirski wrote:
> The only remaining readers in context switch code or vm86(), and
> they all just want to update TSS.sp0 to match the current task.
> Replace them all with a new helper update_sp0().
>
> Signed-off-by: Andy Lutomirski <luto@kernel.org>
> ---
> arch/x86/include/asm/switch_to.h | 6 ++++++
> arch/x86/kernel/process_32.c | 2 +-
> arch/x86/kernel/process_64.c | 2 +-
> arch/x86/kernel/vm86_32.c | 4 ++--
> 4 files changed, 10 insertions(+), 4 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-11-01 11:09    [W:0.283 / U:9.412 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site