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

UAPI: fix tools/vm/page-types.c

Fix tools/vm/page-types.c to use the UAPI variant of linux/kernel-page-flags.h
lest the following error appear:

In file included from page-types.c:38:0:
../../include/linux/kernel-page-flags.h:4:42: fatal error:
uapi/linux/kernel-page-flags.h: No such file or directory

Reported-by: Daniel Hazelton <dshadowwolf@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Fengguang Wu <fengguang.wu@intel.com>
Tested-by: Daniel Hazelton <dshadowwolf@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

David Howells and committed by
Linus Torvalds
59ce8764 86a595f9

+1 -1
+1 -1
tools/vm/page-types.c
··· 35 35 #include <sys/mount.h> 36 36 #include <sys/statfs.h> 37 37 #include "../../include/uapi/linux/magic.h" 38 - #include "../../include/linux/kernel-page-flags.h" 38 + #include "../../include/uapi/linux/kernel-page-flags.h" 39 39 40 40 41 41 #ifndef MAX_PATH