Move vmalloc_to_page() to mm/vmalloc.
authorChristoph Lameter <clameter@sgi.com>
Tue, 5 Feb 2008 06:28:31 +0000 (22:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:13 +0000 (09:44 -0800)
commit48667e7a43c1a1e0ba743f93ae946f8cb34ff2f9
treeb2fb79d16fbac46a859f8332cf95852b73839e07
parenteebd2aa355692afaf9906f62118620f1a1c19dbb
Move vmalloc_to_page() to mm/vmalloc.

We already have page table manipulation for vmalloc in vmalloc.c. Move the
vmalloc_to_page() function there as well.

Move the definitions for vmalloc related functions in mm.h to a newly created
section.  A better place would be vmalloc.h but mm.h is basic and may depend
on these functions.  An alternative would be to include vmalloc.h in mm.h
(like done for vmstat.h).

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
mm/memory.c
mm/vmalloc.c