diff options
author | Tiejun Chen <tiejun.chen@windriver.com> | 2015-10-06 22:48:14 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-10-27 18:13:26 -0500 |
commit | 835c031c98ee1d166c7fdcdbd8c9cc20e05286d4 (patch) | |
tree | 2c135c6c562fc48a73c0683dc4ba7d9f38ac73f4 /arch/powerpc/include/asm/exception-64e.h | |
parent | 68d1014019b41c5069b749583a70ede60150b8c2 (diff) | |
download | lwn-835c031c98ee1d166c7fdcdbd8c9cc20e05286d4.tar.gz lwn-835c031c98ee1d166c7fdcdbd8c9cc20e05286d4.zip |
powerpc/booke64: Fix args to copy_and_flush
Convert r4/r5, not r6, to a virtual address when calling
copy_and_flush. Otherwise, r3 is already virtual, and copy_to_flush
tries to access r3+r6, PAGE_OFFSET gets added twice.
This isn't normally seen because on book3e we normally enter with
the kernel at zero and thus skip copy_to_flush -- but it will be
needed for kexec support.
Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
[scottwood: split patch and rewrote changelog]
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/include/asm/exception-64e.h')
0 files changed, 0 insertions, 0 deletions