Files
kernel_amazon_mt8127-common/include/linux
Lee Schermerhorn d4906e1aa5 swap: rework map_swap_page() again
Seems that page_io.c doesn't really need to know that page_private(page)
is the swp_entry 'val'.  Rework map_swap_page() to do what its name says
and map a page to a page offset in the swap space.

The only other caller of map_swap_page() is internal to mm/swapfile.c and
it does want to map a swap entry to the 'sector'.  So rename
map_swap_page() to map_swap_entry(), make it 'static' and and implement
map_swap_page() as a wrapper around that.

Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-15 08:53:16 -08:00
..
2009-12-14 00:26:26 +01:00
2009-12-06 21:10:56 +01:00
2009-12-10 15:02:53 +01:00
2009-12-10 15:02:50 +01:00
2009-12-03 11:58:47 +00:00
2009-12-14 21:17:29 +01:00
2009-11-28 15:05:05 -05:00
2009-12-02 23:38:13 -08:00
2009-12-04 15:39:57 +01:00
2009-12-11 15:18:03 -08:00
2009-12-03 09:32:17 +02:00
2009-12-09 17:14:38 +11:00
2009-11-28 15:05:05 -05:00
2009-12-09 12:12:44 +02:00
2009-12-03 11:43:23 +00:00
2009-12-02 09:55:33 +01:00
2009-11-30 12:02:53 +09:00
2009-12-02 19:57:15 -08:00
2009-12-15 08:53:16 -08:00
2009-12-11 06:44:29 -05:00