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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Fengguang Wu <[email protected]>
Tested-by: Daniel Hazelton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
David Howells 2012-10-25 13:37:57 -07:00 • committed by Linus Torvalds
commit 59ce8764bd

View file

@ -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