All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: dshadowwolf@gmail.com, akpm@linux-foundation.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] UAPI: Fix tools/vm/page-types.c
Date: Tue, 23 Oct 2012 21:48:00 +0800	[thread overview]
Message-ID: <20121023134800.GA21587@localhost> (raw)
In-Reply-To: <20121023132007.32177.42349.stgit@warthog.procyon.org.uk>

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

  reply	other threads:[~2012-10-23 13:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-23 13:20 [PATCH] UAPI: Fix tools/vm/page-types.c David Howells
2012-10-23 13:48 ` Fengguang Wu [this message]
2012-10-23 14:26 ` Daniel Hazelton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121023134800.GA21587@localhost \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=dhowells@redhat.com \
    --cc=dshadowwolf@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.