]> 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)
commita804a01f3e5420c36db453e934d266d17592b350
tree4ee31ef1d9ee0770a6a9941c342559b2e0134dd5
parent05f366fa646e0f5ccf1c5d78b14169e5e6099678
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