diff options
| author | Steven Rostedt <[email protected]> | 2025-04-07 16:01:11 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-04-07 16:02:11 +0000 |
| commit | 4808595a9922e89726ec5611d7749b63966b7fa8 (patch) | |
| tree | 608d23a603a6da12f7bf2ce7897ea34dc2867e4d /tools/testing/selftests/drivers/net/hw/lib/py | |
| parent | Linux 6.15-rc1 (diff) | |
| download | kernel-4808595a9922e89726ec5611d7749b63966b7fa8.tar.gz kernel-4808595a9922e89726ec5611d7749b63966b7fa8.zip | |
tracing: Hide get_vm_area() from MMUless builds
The function get_vm_area() is not defined for non-MMU builds and causes a
build error if it is used. Hide the map_pages() function around a:
#ifdef CONFIG_MMU
to keep it from being compiled when CONFIG_MMU is not set.
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Link: https://lore.kernel.org/[email protected]
Reported-by: Guenter Roeck <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Fixes: 394f3f02de531 ("tracing: Use vmap_page_range() to map memmap ring buffer")
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/lib/py')
0 files changed, 0 insertions, 0 deletions
