linux/arch/x86/vdso
Borislav Petkov e12edd021b x86/cpufeature: Carve out X86_FEATURE_*
commit cd4d09ec6f upstream.

Move them to a separate header and have the following
dependency:

  x86/cpufeatures.h <- x86/processor.h <- x86/cpufeature.h

This makes it easier to use the header in asm code and not
include the whole cpufeature.h and add guards for asm.

Suggested-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1453842730-28463-5-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
[bwh: Backported to 3.16 to avoid a dependency loop:
 - Drop some inapplicable changes
 - Move all the previously backported feature and bug flags across
 - Also change <asm/nospec-branch.h> and lib/retpoline.S to use
   <asm/cpufeatures.h>
 - Also include <asm/cpufeatures.h> in <asm/barrier.h>, as the vdso fails to
   build without that
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2019-05-22 23:15:08 +01:00
..
vdso32 x86/vdso: Fix the build on GCC5 2015-03-30 11:11:01 +01:00
.gitignore x86, vdso: Reimplement vdso.so preparation in build-time C 2014-05-05 13:18:51 -07:00
checkundef.sh x86, vdso: Don't quote $nm in the script for checking vdso references 2010-07-27 23:52:29 -07:00
Makefile x86/vdso: Fix 'make bzImage' on older distros 2015-05-28 10:00:02 +01:00
vclock_gettime.c x86/vdso: Fix vDSO syscall fallback asm constraint regression 2019-02-11 17:54:31 +00:00
vdso-fakesections.c x86/vdso: Remove some redundant in-memory section headers 2014-06-19 15:45:26 -07:00
vdso-layout.lds.S x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap 2018-02-13 18:42:34 +00:00
vdso-note.S x86_64: move vdso 2007-10-11 11:17:10 +02:00
vdso.lds.S x86/vdso: Improve the fake section headers 2014-06-19 15:45:12 -07:00
vdso2c.c x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap 2018-02-13 18:42:34 +00:00
vdso2c.h x86, vdso: Move the vvar area before the vdso text 2018-02-13 18:42:33 +00:00
vdso32-setup.c x86/cpufeature: Carve out X86_FEATURE_* 2019-05-22 23:15:08 +01:00
vdsox32.lds.S x86/vdso: Improve the fake section headers 2014-06-19 15:45:12 -07:00
vgetcpu.c x86: vdso: pvclock gettime support 2012-11-27 23:29:11 -02:00
vma.c x86/cpufeature: Carve out X86_FEATURE_* 2019-05-22 23:15:08 +01:00