From: James Yang Date: Tue, 25 Jun 2013 16:41:05 +0000 (-0500) Subject: powerpc: Fix string instr. emulation for 32-bit processes on ppc64 X-Git-Tag: v3.11-rc1~94^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80aa0fb4940bf8ee52bcb574d74459a7aea45621;p=pandora-kernel.git 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: James Yang Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed