]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit995a5148492c9aa7bce3780f9331e2bea615a633
treeb2fb79d16fbac46a859f8332cf95852b73839e07
parentb37594465796958e271610fb385c78476934e8df
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