diff options
author | 2022-01-04 16:11:19 +0000 | |
---|---|---|
committer | 2022-01-04 16:11:19 +0000 | |
commit | 2deb55d9f57bb7a877c0d77115cc4077e1e974ff (patch) | |
tree | 1c808331a97c6809ea2378f6f10b3ccb686d2dd9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | x86/hyperv: Fix definition of hv_ghcb_pg variable (diff) | |
download | wireguard-linux-2deb55d9f57bb7a877c0d77115cc4077e1e974ff.tar.xz wireguard-linux-2deb55d9f57bb7a877c0d77115cc4077e1e974ff.zip |
swiotlb: Add CONFIG_HAS_IOMEM check around swiotlb_mem_remap()
HAS_IOMEM option may not be selected on some platforms (e.g, s390) and
this will cause compilation failure due to missing memremap()
implementation.
Fix it by stubbing out swiotlb_mem_remap when CONFIG_HAS_IOMEM is not
set.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tianyu Lan <Tianyu.Lan@microsoft.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions