Skip to content
Commit 72bb8f8c authored by Jason A. Donenfeld's avatar Jason A. Donenfeld Committed by Ingo Molnar
Browse files

x86/insn: Avoid namespace clash by separating instruction decoder MMIO type from MMIO trace type



Both <linux/mmiotrace.h> and <asm/insn-eval.h> define various MMIO_ enum constants,
whose namespace overlaps.

Rename the <asm/insn-eval.h> ones to have a INSN_ prefix, so that the headers can be
used from the same source file.

Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230101162910.710293-2-Jason@zx2c4.com
parent 55d23536
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