x86/smap: Use ALTERNATIVE macro
authorBorislav Petkov <bp@suse.de>
Thu, 15 Jan 2015 08:17:12 +0000 (09:17 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 23 Feb 2015 12:44:14 +0000 (13:44 +0100)
commit669f8a900198599d3c2e2e463bafe12d30d96507
treed23c9dc8b5174017e4a55cc096a39bbd6201438c
parentde2ff888843a22918ef15306922083739d23dad3
x86/smap: Use ALTERNATIVE macro

... and drop unfolded version. No need for ASM_NOP3 anymore either as
the alternatives do the proper padding at build time and insert proper
NOPs at boot time.

There should be no apparent operational change from this patch.

Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/include/asm/smap.h