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>
This commit is contained in:
Tanzir Hasan 2023-12-21 20:32:33 +00:00 committed by Andrew Morton
parent 8e226a0a8d
commit 037d88f0dd

View File

@ -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>