linux/arch/sparc64/mm
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
..
fault.c [SPARC64]: Adjust kernel PC validation test in fault handler. 2008-02-28 20:38:15 -08:00
generic.c [SPARC64]: Fix X server hangs due to large pages. 2006-08-29 21:23:31 -07:00
hugetlbpage.c hugepage: fix broken check for offset alignment in hugepage mappings 2007-08-31 01:42:23 -07:00
init.c pageflags: get rid of FLAGS_RESERVED 2008-04-28 08:58:21 -07:00
Makefile [SPARC64]: Move away from virtual page tables, part 1. 2006-03-20 01:11:13 -08:00
tlb.c [SPARC64]: Don't open-code {get,put}_cpu_var() in flush_tlb_pending(). 2008-03-28 15:53:25 -07:00
tsb.c [SPARC64]: Allocate TSB node-local. 2008-04-23 23:32:17 -07:00
ultra.S [SPARC64]: %l6 trap return handling no longer necessary. 2008-04-24 03:15:22 -07:00