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 <dshadoww...@gmail.com>
> Signed-off-by: David Howells <dhowe...@redhat.com>
> cc: Fengguang Wu <fengguang...@intel.com>

Looks like the right solution.

Reviewed-by: Fengguang Wu <fengguang...@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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to