diff options
author | Dave Hansen <dave.hansen@linux.intel.com> | 2020-01-23 10:41:13 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-14 16:53:05 -0500 |
commit | 8cec0fa22202ce1935c296f8573aa15968943b1e (patch) | |
tree | 52f3086f5aad74187e509ff5c5f5f0e13520343c /security/selinux/hooks.c | |
parent | b43de9e5b65f99cf92bc88665b72bb1fd7bd78ae (diff) |
x86/alternatives: add missing insn.h include
commit 3a1255396b5aba40299d5dd5bde67b160a44117f upstream.
From: Dave Hansen <dave.hansen@linux.intel.com>
While testing my MPX removal series, Borislav noted compilation
failure with an allnoconfig build.
Turned out to be a missing include of insn.h in alternative.c.
With MPX, it got it implicitly from:
asm/mmu_context.h -> asm/mpx.h -> asm/insn.h
Fixes: c3d6324f841b ("x86/alternatives: Teach text_poke_bp() to emulate instructions")
Reported-by: Borislav Petkov <bp@alien8.de>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: x86@kernel.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions