Victor Kamensky e3892e9160 ARM: 8033/1: fix big endian __pv_phys_pfn_offset size related issue
Fix e26a9e00afc482b971afcaef1db8c9034d4d6d7c 'ARM: Better
virt_to_page() handling' replaced __pv_phys_offset with
__pv_phys_pfn_offset. Also note that size of __pv_phys_offset
was quad but size of __pv_phys_pfn_offset is word. Instruction
that used to update __pv_phys_offset which address is in r6
had to update low word of __pv_phys_offset so it used #LOW_OFFSET
macro for store offset. Now when size of __pv_phys_pfn_offset is
word, no difference between little endian and big endian should
exist - i.e no offset should be used when __pv_phys_pfn_offset
is stored.

Note that for little endian image proposed change is noop,
since in little endian case #LOW_OFFSET is defined 0 anyway.

Reported-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-04-22 22:24:00 +01:00
..
2014-04-03 22:46:34 +01:00
2012-03-28 18:30:01 +01:00
2013-12-13 20:25:30 +00:00
2012-03-24 09:38:56 +00:00
2014-01-28 14:06:25 +00:00
2014-03-18 16:39:40 -04:00
2013-05-21 14:24:11 +00:00
2014-03-18 16:39:40 -04:00
2013-10-19 20:46:33 +01:00
2013-05-05 00:07:22 -04:00
2014-03-18 16:39:40 -04:00
2014-03-18 16:39:40 -04:00
2014-03-18 16:39:40 -04:00