Subject: [merged] mm-zswapc-get-swapper-address_space-by-using-macro.patch removed from -mm tree To: sunghan.suh@xxxxxxxxxxx,bob.liu@xxxxxxxxxx,liwanp@xxxxxxxxxxxxxxxxxx,sjenning@xxxxxxxxxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Thu, 12 Sep 2013 12:42:25 -0700 The patch titled Subject: mm/zswap.c: get swapper address_space by using macro has been removed from the -mm tree. Its filename was mm-zswapc-get-swapper-address_space-by-using-macro.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Sunghan Suh <sunghan.suh@xxxxxxxxxxx> Subject: mm/zswap.c: get swapper address_space by using macro There is a proper macro to get the corresponding swapper address space from a swap entry. Instead of directly accessing "swapper_spaces" array, use the "swap_address_space" macro. Signed-off-by: Sunghan Suh <sunghan.suh@xxxxxxxxxxx> Reviewed-by: Bob Liu <bob.liu@xxxxxxxxxx> Reviewed-by: Wanpeng Li <liwanp@xxxxxxxxxxxxxxxxxx> Acked-by: Seth Jennings <sjenning@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/zswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/zswap.c~mm-zswapc-get-swapper-address_space-by-using-macro mm/zswap.c --- a/mm/zswap.c~mm-zswapc-get-swapper-address_space-by-using-macro +++ a/mm/zswap.c @@ -409,7 +409,7 @@ static int zswap_get_swap_cache_page(swp struct page **retpage) { struct page *found_page, *new_page = NULL; - struct address_space *swapper_space = &swapper_spaces[swp_type(entry)]; + struct address_space *swapper_space = swap_address_space(entry); int err; *retpage = NULL; _ Patches currently in -mm which might be from sunghan.suh@xxxxxxxxxxx are origin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html