linux-stable/arch/x86/entry
Thomas Gleixner 38e9e81f4c x86/gdt: Use bitfields for initialization
The GDT entry related code uses two ways to access entries via
union fields:

 - bitfields

 - macros which initialize the two 16-bit parts of the entry
   by magic shift and mask operations.

Clean it up and only use the bitfields to initialize and access entries.

( The old access patterns were partly done due to GCC optimizing bitfield
  accesses in a horrible way - that's mostly fixed these days and clarity
  of code in such low level accessors is very important. )

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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: 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.197673367@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-29 12:07:25 +02:00
..
syscalls
vdso x86/gdt: Use bitfields for initialization 2017-08-29 12:07:25 +02:00
vsyscall
calling.h x86/entry/64: Add unwind hint annotations 2017-07-18 10:57:44 +02:00
common.c
entry_32.S x86/idt: Remove the tracing IDT completely 2017-08-29 11:42:28 +02:00
entry_64.S x86/idt: Remove the tracing IDT completely 2017-08-29 11:42:28 +02:00
entry_64_compat.S x86/xen/64: Rearrange the SYSCALL entries 2017-08-10 13:14:32 +02:00
Makefile x86/entry/64: Add unwind hint annotations 2017-07-18 10:57:44 +02:00
syscall_32.c
syscall_64.c
thunk_32.S
thunk_64.S