summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/r2300_switch.S
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-08-23 16:58:39 +1000
committerPaul Mackerras <paulus@samba.org>2006-08-23 16:58:39 +1000
commit87589f08beaec3e1f8a3af0c72406c845f706821 (patch)
tree4402e8dc8fa204c0484fe0741eb09710f2be5bab /arch/mips/kernel/r2300_switch.S
parentbe9633e96a9e33ab97776bb6874244fa4db6987d (diff)
downloadlinux-stable-87589f08beaec3e1f8a3af0c72406c845f706821.tar.gz
linux-stable-87589f08beaec3e1f8a3af0c72406c845f706821.tar.bz2
linux-stable-87589f08beaec3e1f8a3af0c72406c845f706821.zip
[POWERPC] Correct masks used in emulating some instructions
When we get an illegal instruction exception, we check to see whether the instruction is one that we emulate for the user program. Some of the masks we use in checking whether the offending instruction is one we care about didn't have the top bit set, which is the MSB of the major opcode. Thus some undefined opcodes could get emulated as other (defined but unimplemented) instructions. This corrects the masks. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/mips/kernel/r2300_switch.S')
0 files changed, 0 insertions, 0 deletions