]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
is_vmalloc_addr(): Check if an address is within the vmalloc boundaries
authorChristoph Lameter <clameter@sgi.com>
Tue, 5 Feb 2008 06:28:34 +0000 (22:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:14 +0000 (09:44 -0800)
commit9e2779fa281cfda13ac060753d674bbcaa23367e
treee2af17d69b71e0f8b3f00fe949cb8abfba4298ed
parent0b7a96114bd5991d355a1f1c1d3d9c0c9d9c1cfc
is_vmalloc_addr(): Check if an address is within the vmalloc boundaries

Checking if an address is a vmalloc address is done in a couple of places.
Define a common version in mm.h and replace the other checks.

Again the include structures suck.  The definition of VMALLOC_START and
VMALLOC_END is not available in vmalloc.h since highmem.c cannot be included
there.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/cxgb3/cxgb3_offload.c
fs/ntfs/malloc.h
fs/proc/kcore.c
fs/xfs/linux-2.6/kmem.c
fs/xfs/linux-2.6/xfs_buf.c
include/linux/mm.h
mm/sparse.c