[PATCH 22/29] mm: prepare swap entry methods for use in page methods

2007-12-14 Thread Peter Zijlstra
Move around the swap entry methods in preparation for use from page methods. Also provide a function to obtain the swap_info_struct backing a swap cache page. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/linux/mm.h |8 +++ include/linux/swap.h| 49

[PATCH 22/29] mm: prepare swap entry methods for use in page methods

2007-12-14 Thread Peter Zijlstra
Move around the swap entry methods in preparation for use from page methods. Also provide a function to obtain the swap_info_struct backing a swap cache page. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- include/linux/mm.h |8 +++ include/linux/swap.h| 49