]> git.baikalelectronics.ru Git - kernel.git/commit
sh: use PFN_DOWN macro
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Fri, 4 Sep 2015 22:43:35 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commit424461dfa466a9ac1526498d85fb627874abe827
tree4ee31ef1d9ee0770a6a9941c342559b2e0134dd5
parentd6c9955f5315ae0207d15a6d3ce43f7f3e94712a
sh: use PFN_DOWN macro

Replace ((x) >> PAGE_SHIFT) with the predefined PFN_DOWN macro.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/mm/init.c
arch/sh/mm/numa.c