linux/arch/sparc64
Christoph Lameter 9223b4190f pageflags: get rid of FLAGS_RESERVED
NR_PAGEFLAGS specifies the number of page flags we are using.  From that we
can calculate the number of bits leftover that can be used for zone, node (and
maybe the sections id).  There is no need anymore for FLAGS_RESERVED if we use
NR_PAGEFLAGS.

Use the new methods to make NR_PAGEFLAGS available via the preprocessor.
NR_PAGEFLAGS is used to calculate field boundaries in the page flags fields.
These field widths have to be available to the preprocessor.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: David Miller <davem@davemloft.net>
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:21 -07:00
..
boot [SPARC64]: Add .gitignore file for sparc64 boot images. 2006-02-05 00:15:11 -08:00
kernel [SPARC64]: Wrap SMP IPIs with irq_enter()/irq_exit(). 2008-04-25 03:11:37 -07:00
lib [SPARC64]: Fix inconsistent .section usage in lib/ 2008-01-31 19:32:44 -08:00
math-emu [SPARC64]: small Makefile cleanups 2007-10-22 02:32:10 -07:00
mm pageflags: get rid of FLAGS_RESERVED 2008-04-28 08:58:21 -07:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
prom [SPARC]: Kill 'prom_palette'. 2008-02-18 15:28:16 -08:00
defconfig [SPARC64]: Add NUMA support. 2008-04-23 23:32:17 -07:00
Kconfig [SPARC64]: Add NUMA support. 2008-04-23 23:32:17 -07:00
Kconfig.debug [SPARC64]: Remove DEBUG_BOOTMEM. 2008-02-13 01:00:26 -08:00
Makefile [SPARC]: Remove SunOS and Solaris binary support. 2008-04-21 15:10:15 -07:00