Subject: [merged] mm-memblockc-use-pfn_phys.patch removed from -mm tree To: fabf@xxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 08 Apr 2014 13:57:33 -0700 The patch titled Subject: mm/memblock.c: use PFN_PHYS() has been removed from the -mm tree. Its filename was mm-memblockc-use-pfn_phys.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Fabian Frederick <fabf@xxxxxxxxx> Subject: mm/memblock.c: use PFN_PHYS() Replace ((phys_addr_t)(x) << PAGE_SHIFT) by pfn macro. Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memblock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN mm/memblock.c~mm-memblockc-use-pfn_phys mm/memblock.c --- a/mm/memblock.c~mm-memblockc-use-pfn_phys +++ a/mm/memblock.c @@ -1253,7 +1253,7 @@ phys_addr_t __init memblock_mem_size(uns pages += end_pfn - start_pfn; } - return (phys_addr_t)pages << PAGE_SHIFT; + return PFN_PHYS(pages); } /* lowest address */ @@ -1324,7 +1324,7 @@ int __init_memblock memblock_search_pfn_ unsigned long *start_pfn, unsigned long *end_pfn) { struct memblock_type *type = &memblock.memory; - int mid = memblock_search(type, (phys_addr_t)pfn << PAGE_SHIFT); + int mid = memblock_search(type, PFN_PHYS(pfn)); if (mid == -1) return -1; _ Patches currently in -mm which might be from fabf@xxxxxxxxx are origin.patch linux-next.patch ufs-sb-mutex-merge-mutex_destroy.patch ufs-sb-mutex-merge-mutex_destroy-fix.patch ufs-sb-mutex-merge-mutex_destroy-fix-v2.patch ufs-sb-mutex-merge-mutex_destroy-fix-v2-fix.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