Skip to content
Commit 80aa0fb4 authored by James Yang's avatar James Yang Committed by Benjamin Herrenschmidt
Browse files

powerpc: Fix string instr. emulation for 32-bit processes on ppc64



String instruction emulation would erroneously result in a segfault if
the upper bits of the EA are set and is so high that it fails access
check.  Truncate the EA to 32 bits if the process is 32-bit.

Signed-off-by: default avatarJames Yang <James.Yang@freescale.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent e1b85c17
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment