Commit 3a125539 authored by Dave Hansen's avatar Dave Hansen Committed by Dave Hansen
Browse files

x86/alternatives: add missing insn.h include

From: Dave Hansen <>

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: c3d6324f

 ("x86/alternatives: Teach text_poke_bp() to emulate instructions")
Reported-by: default avatarBorislav Petkov <>
Cc: Peter Zijlstra (Intel) <>
Cc: Andy Lutomirski <>
Cc: Linus Torvalds <>
Cc: Andrew Morton <>
Signed-off-by: default avatarDave Hansen <>
parent 219d5433
......@@ -23,6 +23,7 @@
#include <asm/nmi.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/insn.h>
#include <asm/io.h>
#include <asm/fixmap.h>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment