public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] UAPI: Fix tools/vm/page-types.c
@ 2012-10-23 13:20 David Howells
  2012-10-23 13:48 ` Fengguang Wu
  2012-10-23 14:26 ` Daniel Hazelton
  0 siblings, 2 replies; 3+ messages in thread
From: David Howells @ 2012-10-23 13:20 UTC (permalink / raw)
  To: fengguang.wu, dshadowwolf; +Cc: dhowells, akpm, linux-kernel

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>
cc: Fengguang Wu <fengguang.wu@intel.com>
---

 tools/vm/page-types.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/vm/page-types.c b/tools/vm/page-types.c
index cd1b03e..b76edf2 100644
--- a/tools/vm/page-types.c
+++ b/tools/vm/page-types.c
@@ -35,7 +35,7 @@
 #include <sys/mount.h>
 #include <sys/statfs.h>
 #include "../../include/uapi/linux/magic.h"
-#include "../../include/linux/kernel-page-flags.h"
+#include "../../include/uapi/linux/kernel-page-flags.h"
 
 
 #ifndef MAX_PATH


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-23 14:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-23 13:20 [PATCH] UAPI: Fix tools/vm/page-types.c David Howells
2012-10-23 13:48 ` Fengguang Wu
2012-10-23 14:26 ` Daniel Hazelton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox