summaryrefslogtreecommitdiffstats
path: root/lib/trace_readwrite.c
diff options
context:
space:
mode:
authorTanzir Hasan <tanzirh@google.com>2023-12-21 21:32:33 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-12-29 21:22:29 +0100
commit037d88f0dd87553871a8b143586399122adf49ba (patch)
tree3c9f69317b575a3ffcd03f068fa7fc407443a8ae /lib/trace_readwrite.c
parentnilfs2: cpfile: fix some kernel-doc warnings (diff)
downloadlinux-037d88f0dd87553871a8b143586399122adf49ba.tar.xz
linux-037d88f0dd87553871a8b143586399122adf49ba.zip
lib/trace_readwrite.c:: replace asm-generic/io with linux/io
asm-generic/io.h can be replaced with linux/io.h and the file will still build correctly. It is an asm-generic file which should be avoided if possible. Link: https://lkml.kernel.org/r/20231221-tracereadwrite-v1-1-a434f25180c7@google.com Signed-off-by: Tanzir Hasan <tanzirh@google.com> Suggested-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/trace_readwrite.c')
-rw-r--r--lib/trace_readwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trace_readwrite.c b/lib/trace_readwrite.c
index 62b4e8b3c733..a94cd56a1e4c 100644
--- a/lib/trace_readwrite.c
+++ b/lib/trace_readwrite.c
@@ -7,7 +7,7 @@
#include <linux/ftrace.h>
#include <linux/module.h>
-#include <asm-generic/io.h>
+#include <linux/io.h>
#define CREATE_TRACE_POINTS
#include <trace/events/rwmmio.h>