ARM: 8291/1: replace magic number with PAGE_SHIFT macro in fixup_pv code
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 20 Jan 2015 02:49:35 +0000 (03:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 21 Jan 2015 15:59:57 +0000 (15:59 +0000)
commit7a06192834414f02465cb38f4ceb88a6f02392f6
tree0b59328b017e54e702bef22406111a1eef35b5d2
parent7d57909bf69f213b4a9f278d78271e7c9a05f62f
ARM: 8291/1: replace magic number with PAGE_SHIFT macro in fixup_pv code

This line converts PHYS_OFFSET into PHYS_PFN_OFFSET.
It is better to use PAGE_SHIFT rather than the magic number 12.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head.S