]> git.hungrycats.org Git - linux/commit
[PATCH] remove valid_addr_bitmap
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:43:18 +0000 (18:43 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:43:18 +0000 (18:43 -0800)
commit73027d993d79480b7117c2a7e59c81629d10b0cf
treed08abb8272e599a2b74ae0a7dbddb8d3524dbe4d
parentf70ceb5a2fe6380ce61e23111458e843448d60b9
[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.
include/asm-alpha/mmzone.h
include/asm-i386/mmzone.h
include/asm-mips/mmzone.h
include/asm-ppc64/mmzone.h
include/linux/mmzone.h
mm/page_alloc.c