kbuild: install kernel-page-flags.h
commit3798a7b34a19617eda5ce4b3025634b93b638de9
authorUlrich Drepper <drepper@akkadia.org>
Tue, 29 May 2012 22:06:30 +0000 (29 15:06 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 10 Jun 2012 13:42:10 +0000 (10 14:42 +0100)
treed56623f1b13bafd0af2e7151608b39c82b191b1b
parent043d295af99c056807d9647fe9fa8dd784a9ebb5
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>
[bwh: Backported to 3.2: adjust context; drop change to missing tools/vm/]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
include/linux/Kbuild
include/linux/kernel-page-flags.h