summaryrefslogtreecommitdiffstats
path: root/tools/perf/python
diff options
context:
space:
mode:
authorAaron Thompson <dev@aaront.org>2023-01-04 10:07:37 +0000
committerMike Rapoport (IBM) <rppt@kernel.org>2023-01-04 12:26:59 +0200
commit340726747336716350eb5a928b860a29db955f05 (patch)
tree4c45bd80d6919a79a407090a03431005b4cde001 /tools/perf/python
parent88603b6dc419445847923fcb7fe5080067a30f98 (diff)
downloadlinux-stable-340726747336716350eb5a928b860a29db955f05.tar.gz
linux-stable-340726747336716350eb5a928b860a29db955f05.tar.bz2
linux-stable-340726747336716350eb5a928b860a29db955f05.zip
memblock tests: Fix compilation error.
Commit cf4694be2b2cf ("tools: Add atomic_test_and_set_bit()") changed tools/arch/x86/include/asm/atomic.h to include <asm/asm.h>, which causes 'make -C tools/testing/memblock' to fail with: In file included from ../../include/asm/atomic.h:6, from ../../include/linux/atomic.h:5, from ./linux/mmzone.h:5, from ../../include/linux/mm.h:5, from ../../include/linux/pfn.h:5, from ./linux/memory_hotplug.h:6, from ./linux/init.h:7, from ./linux/memblock.h:11, from tests/common.h:8, from tests/basic_api.h:5, from main.c:2: ../../include/asm/../../arch/x86/include/asm/atomic.h:11:10: fatal error: asm/asm.h: No such file or directory 11 | #include <asm/asm.h> | ^~~~~~~~~~~ Create a symlink to asm/asm.h in the same manner as the existing one to asm/cmpxchg.h. Signed-off-by: Aaron Thompson <dev@aaront.org> Link: https://lore.kernel.org/r/010101857c402765-96e2dbc6-b82b-47e2-a437-4834dbe0b96b-000000@us-west-2.amazonses.com Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions