[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)
commit67de648211fa041fe08a0c25241a4980bbb90698
tree94f737e0fed7c40dc59e94f05d6851e490082068
parent6811378e7d8b9aa4fca2a1ca73d24c9d67c9cb12
[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