diff options
| author | Christoph Lameter <[email protected]> | 2006-09-25 23:31:12 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-09-26 08:48:46 -0700 |
| commit | 98d2b0ebda72fc39cdefd3720d50b9b3ce409085 (patch) | |
| tree | ce51d8a2eab039c25667e6c448d5393582065d14 /include/linux | |
| parent | c1f60a5a419cc60aff27daffb150f5a3a3a79ef4 (diff) | |
[PATCH] reduce MAX_NR_ZONES: page allocator ZONE_HIGHMEM cleanup
page allocator ZONE_HIGHMEM fixups
1. We do not need to do an #ifdef in si_meminfo since both counters
in use are zero if !CONFIG_HIGHMEM.
2. Add #ifdef in si_meminfo_node instead to avoid referencing zone
information for ZONE_HIGHMEM if we do not have HIGHMEM
(may not be there after the following patches).
3. Replace the use of ZONE_HIGHMEM with MAX_NR_ZONES in build_zonelists_node
4. build_zonelists_node: Remove BUG_ON for ZONE_HIGHMEM. Zone will
be optional soon and thus BUG_ON cannot be triggered anymore.
5. init_free_area_core: Replace a use of ZONE_HIGHMEM with NR_MAX_ZONES.
[[email protected]: cleanups]
Signed-off-by: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions