]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] squash duplicate page_to_pfn and pfn_to_page
authorAndy Whitcroft <apw@shadowen.org>
Fri, 23 Jun 2006 09:03:12 +0000 (02:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:47 +0000 (07:42 -0700)
commit148da52466382b8fff2c7fe16cb6aad4edbde9dc
tree94f737e0fed7c40dc59e94f05d6851e490082068
parentf6f5b1c6954130b1bf77740eb0e71d211665c769
[PATCH] squash duplicate page_to_pfn and pfn_to_page

We have architectures where the size of page_to_pfn and pfn_to_page are
significant enough to overall image size that they wish to push them out of
line.  However, in the process we have grown a second copy of the
implementation of each of these routines for each memory model.  Share the
implmentation exposing it either inline or out-of-line as required.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-generic/memory_model.h
mm/page_alloc.c