]> git.itanic.dy.fi Git - linux-stable/commit
x86/insn: Avoid namespace clash by separating instruction decoder MMIO type from...
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 1 Jan 2023 16:29:04 +0000 (17:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 3 Jan 2023 17:46:06 +0000 (18:46 +0100)
commit72bb8f8cc088730c4d84117a6906f458c2fc64bb
tree6e6cdd78c1e8dd705ec0e7544ee33af8045695b6
parent55d235361fccef573990dfa5724ab453866e7816
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: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230101162910.710293-2-Jason@zx2c4.com
arch/x86/coco/tdx/tdx.c
arch/x86/include/asm/insn-eval.h
arch/x86/kernel/sev.c
arch/x86/lib/insn-eval.c