summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/proto.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2022-01-27 14:56:25 +0300
committerBorislav Petkov <bp@suse.de>2022-04-04 11:17:03 +0300
commit76ea0025a214cdf0d2c204f4c21cbffa9fb57c32 (patch)
tree643870c8255bf50443d394dec8d148e786b77de9 /arch/x86/include/asm/proto.h
parent385d2ae0a1b5efacb30e13a0f0e521490441d9bb (diff)
downloadlinux-76ea0025a214cdf0d2c204f4c21cbffa9fb57c32.tar.xz
x86/cpu: Remove "noexec"
It doesn't make any sense to disable non-executable mappings - security-wise or else. So rip out that switch and move the remaining code into setup.c and delete setup_nx.c Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Lai Jiangshan <jiangshanlai@gmail.com> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20220127115626.14179-6-bp@alien8.de
Diffstat (limited to 'arch/x86/include/asm/proto.h')
-rw-r--r--arch/x86/include/asm/proto.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/proto.h b/arch/x86/include/asm/proto.h
index feed36d44d04..0f899c8d7a4e 100644
--- a/arch/x86/include/asm/proto.h
+++ b/arch/x86/include/asm/proto.h
@@ -35,7 +35,6 @@ void xen_entry_INT80_compat(void);
#endif
void x86_configure_nx(void);
-void x86_report_nx(void);
extern int reboot_force;