diff options
author | Paul Mackerras <paulus@samba.org> | 2014-07-19 11:47:57 +0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-22 09:55:51 +0400 |
commit | e698b9667879b79e479cc985f9d74ecf126e343e (patch) | |
tree | 6072870769c85d687c774bd8c532ad9fb1a172f8 /arch/powerpc/boot/cuboot-taishan.c | |
parent | bd6ba3518fcb2539d83163a3f486d09411bc535d (diff) | |
download | linux-e698b9667879b79e479cc985f9d74ecf126e343e.tar.xz |
powerpc: Fix bugs in emulate_step()
This fixes some bugs in emulate_step(). First, the setting of the carry
bit for the arithmetic right-shift instructions was not correct on 64-bit
machines because we were masking with a mask of type int rather than
unsigned long. Secondly, the sld (shift left doubleword) instruction was
using the wrong instruction field for the register containing the shift
count.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/cuboot-taishan.c')
0 files changed, 0 insertions, 0 deletions