summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorQinxin Xia <xiaqinxin@huawei.com>2025-10-28 20:09:00 +0800
committerMarek Szyprowski <m.szyprowski@samsung.com>2025-10-29 09:41:40 +0100
commitf74ee32963f1b74865fe679e2475450434fea51c (patch)
tree30031dc2aac1302f1610952563a862061245259f /kernel
parent23ee8a2563a0f24cf4964685ced23c32be444ab8 (diff)
tools/dma: move dma_map_benchmark from selftests to tools/dma
dma_map_benchmark is a standalone developer tool rather than an automated selftest. It has no pass/fail criteria, expects manual invocation, and is built as a normal userspace binary. Move it to tools/dma/ and add a minimal Makefile. Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com> Suggested-by: Barry Song <baohua@kernel.org> Signed-off-by: Qinxin Xia <xiaqinxin@huawei.com> Acked-by: Barry Song <baohua@kernel.org> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://lore.kernel.org/r/20251028120900.2265511-3-xiaqinxin@huawei.com
Diffstat (limited to 'kernel')
-rw-r--r--kernel/dma/map_benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/map_benchmark.c b/kernel/dma/map_benchmark.c
index cc19a3efea89..794041a39e65 100644
--- a/kernel/dma/map_benchmark.c
+++ b/kernel/dma/map_benchmark.c
@@ -11,13 +11,13 @@
#include <linux/dma-mapping.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
-#include <linux/map_benchmark.h>
#include <linux/math64.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/timekeeping.h>
+#include <uapi/linux/map_benchmark.h>
struct map_benchmark_data {
struct map_benchmark bparam;