diff options
author | 2021-12-15 17:56:11 +0100 | |
---|---|---|
committer | 2021-12-22 19:50:26 +0100 | |
commit | 4d5cff69fbddbbefef2903faa48263cc5d3ca382 (patch) | |
tree | 73c3658b7700ccd9eeb34799d4f2c49c1097e4c0 /scripts/gdb/linux/utils.py | |
parent | x86/sev-es: Use insn_decode_mmio() for MMIO implementation (diff) | |
download | wireguard-linux-4d5cff69fbddbbefef2903faa48263cc5d3ca382.tar.xz wireguard-linux-4d5cff69fbddbbefef2903faa48263cc5d3ca382.zip |
x86/mtrr: Remove the mtrr_bp_init() stub
Add an IS_ENABLED() check in setup_arch() and call pat_disable()
directly if MTRRs are not supported. This allows to remove the
<asm/memtype.h> include in <asm/mtrr.h>, which pull in lowlevel x86
headers that should not be included for UML builds and will cause build
warnings with a following patch.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20211215165612.554426-2-hch@lst.de
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions