powerpc: Use 32 bit loads and stores when operating on condition register values

The condition register (CR) is a 32 bit quantity so we should use
32 bit loads and stores.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Anton Blanchard
2013-10-15 14:36:31 +11:00
committed by Benjamin Herrenschmidt
부모 65508689d4
커밋 bbe30b3b57
2개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제

파일 보기

@@ -24,7 +24,7 @@
mflr r0; \
mfcr r12; \
std r0,16(r1); \
std r12,8(r1); \
stw r12,8(r1); \
std r1,PACAR1(r13); \
li r0,0; \
mfmsr r12; \
@@ -53,7 +53,7 @@ _STATIC(opal_return)
*/
FIXUP_ENDIAN
ld r2,PACATOC(r13);
ld r4,8(r1);
lwz r4,8(r1);
ld r5,16(r1);
ld r6,PACASAVEDMSR(r13);
mtspr SPRN_SRR0,r5;