Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Tanzir Hasan and committed by
Andrew Morton
037d88f0 8e226a0a

+1 -1
+1 -1
lib/trace_readwrite.c
··· 7 7 8 8 #include <linux/ftrace.h> 9 9 #include <linux/module.h> 10 - #include <asm-generic/io.h> 10 + #include <linux/io.h> 11 11 12 12 #define CREATE_TRACE_POINTS 13 13 #include <trace/events/rwmmio.h>