diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-03 18:43:18 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-02-03 18:43:18 -0800 |
| commit | 73027d993d79480b7117c2a7e59c81629d10b0cf (patch) | |
| tree | d08abb8272e599a2b74ae0a7dbddb8d3524dbe4d /include/linux | |
| parent | f70ceb5a2fe6380ce61e23111458e843448d60b9 (diff) | |
[PATCH] remove valid_addr_bitmap
From: William Lee Irwin III <wli@holomorphy.com>
->valid_addr_bitmap is initialized nowhere. Any kern_addr_valid() testing
it returns 0 unconditionally.
This patch converts kern_addr_valid() implementations using it to return 0
as per the above and removes it from structures and zone initialization.
Untested (not even compiletested), though a similar patch also nuking
d_validate() was in use in -wli for several months.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmzone.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 66cbaa36d878..71f2f39cae0f 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -205,7 +205,6 @@ typedef struct pglist_data { struct zonelist node_zonelists[MAX_NR_ZONES]; int nr_zones; struct page *node_mem_map; - unsigned long *valid_addr_bitmap; struct bootmem_data *bdata; unsigned long node_start_pfn; unsigned long node_present_pages; /* total number of physical pages */ |
