* [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
* Re: [PATCH] UAPI: Fix tools/vm/page-types.c
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
1 sibling, 0 replies; 3+ messages in thread
From: Fengguang Wu @ 2012-10-23 13:48 UTC (permalink / raw)
To: David Howells; +Cc: dshadowwolf, akpm, linux-kernel
On Tue, Oct 23, 2012 at 02:20:07PM +0100, David Howells wrote:
> 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>
Looks like the right solution.
Reviewed-by: 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 [flat|nested] 3+ messages in thread
* Re: [PATCH] UAPI: Fix tools/vm/page-types.c
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
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Hazelton @ 2012-10-23 14:26 UTC (permalink / raw)
To: David Howells; +Cc: fengguang.wu, akpm, linux-kernel
On 10/23/12 09:20, David Howells wrote:
> 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
>
>
FWIW: Tested-by: Daniel Hazelton <dshadowwolf@gmail.com>
^ permalink raw reply [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