]> git.baikalelectronics.ru Git - kernel.git/commit
x86/asm: Replace access to desc_struct:a/b fields
authorThomas Gleixner <tglx@linutronix.de>
Mon, 28 Aug 2017 06:47:40 +0000 (08:47 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Aug 2017 10:07:25 +0000 (12:07 +0200)
commit9b502e6bf706896de6e0e6fea730e11d752f2a7b
tree43e1cb8e889e25bec2d50a9375bcbcf21dc447d6
parent0f51a448ae919c668d019354fb81bdb7c2ef5e1a
x86/asm: Replace access to desc_struct:a/b fields

The union inside of desc_struct which allows access to the raw u32 parts of
the descriptors. This raw access part is about to go away.

Replace the few code parts which access those fields.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20170828064958.120214366@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/xen/hypercall.h
arch/x86/kernel/tls.c
arch/x86/xen/enlighten_pv.c