kbuild: install kernel-page-flags.h
authorUlrich Drepper <drepper@akkadia.org>
Tue, 29 May 2012 22:06:30 +0000 (15:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:36:11 +0000 (00:36 +0900)
commit08c372db1aa0a65e0b2135e8556be35e1175f9b9
tree9b96ee54557aaeba2d6d34b0b1ec457484dcc44f
parente552a3bfe0c60c65d35cc3ee6a5f20d9702ebc9a
kbuild: install kernel-page-flags.h

commit 9295b7a07c859a42346221b5839be0ae612333b0 upstream.

Programs using /proc/kpageflags need to know about the various flags.  The
<linux/kernel-page-flags.h> provides them and the comments in the file
indicate that it is supposed to be used by user-level code.  But the file
is not installed.

Install the headers and mark the unstable flags as out-of-bounds.  The
page-type tool is also adjusted to not duplicate the definitions

Signed-off-by: Ulrich Drepper <drepper@gmail.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/Kbuild
include/linux/kernel-page-flags.h
tools/vm/page-types.c