diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-09-21 23:43:10 +0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-09-21 23:45:26 +0400 |
commit | 51ae4a2d775e1ee456282d7c60e49693d0a8555d (patch) | |
tree | c79d01f5aea44c5f969a8aa4618cb92c69be3977 /arch/x86/include/asm/uaccess.h | |
parent | 76f30759f690db21ca567a20665ed2679ad3235b (diff) | |
download | linux-51ae4a2d775e1ee456282d7c60e49693d0a8555d.tar.xz |
x86, smap: Add a header file with macros for STAC/CLAC
The STAC/CLAC instructions are only available with SMAP, but on the
other hand they aren't needed if SMAP is not available, or before we
start to run userspace, so construct them as alternatives which start
out as noops and are enabled by the alternatives mechanism.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1348256595-29119-7-git-send-email-hpa@linux.intel.com
Diffstat (limited to 'arch/x86/include/asm/uaccess.h')
0 files changed, 0 insertions, 0 deletions