Re: [PATCH] ARM: replace magic number with PAGE_SHIFT macro in fixup_pv code

2014-11-27 Thread Nicolas Pitre
On Fri, 28 Nov 2014, Masahiro Yamada wrote: > 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 Acked-by: Nicolas Pitre > --- > > arch/arm/kernel/head.S | 2 +- > 1 file changed, 1

[PATCH] ARM: replace magic number with PAGE_SHIFT macro in fixup_pv code

2014-11-27 Thread Masahiro Yamada
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 --- arch/arm/kernel/head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S

[PATCH] ARM: replace magic number with PAGE_SHIFT macro in fixup_pv code

2014-11-27 Thread Masahiro Yamada
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 yamad...@jp.panasonic.com --- arch/arm/kernel/head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kernel/head.S

Re: [PATCH] ARM: replace magic number with PAGE_SHIFT macro in fixup_pv code

2014-11-27 Thread Nicolas Pitre
On Fri, 28 Nov 2014, Masahiro Yamada wrote: 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 yamad...@jp.panasonic.com Acked-by: Nicolas Pitre n...@linaro.org --- arch/arm/kernel/head.S