This is a tiny fix to pfn_to_virt() for some platforms. The original implementaion of pfn_to_virt() takes PFN instead of PA as the input to macro __va, with PAGE_SHIFT applying to the converted VA, which is not right under most conditions, especially when there's an offset in __va. Yan Zhao (4): asm-generic/page.h: apply page shift to PFN instead of VA in pfn_to_virt csky: apply page shift to PFN instead of VA in pfn_to_virt Hexagon: apply page shift to PFN instead of VA in pfn_to_virt openrisc: apply page shift to PFN instead of VA in pfn_to_virt arch/csky/include/asm/page.h | 2 +- arch/hexagon/include/asm/page.h | 2 +- arch/openrisc/include/asm/page.h | 2 +- include/asm-generic/page.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) base-commit: 41bccc98fb7931d63d03f326a746ac4d429c1dd3 -- 2.17.1