Fix GENERIC64 and LINT64 powerpc builds after r285144.
This commit is contained in:
parent
516a263997
commit
8920bf0c56
@ -426,10 +426,10 @@ printtrap(u_int vector, struct trapframe *frame, int isfatal, int user)
|
|||||||
ver = mfpvr() >> 16;
|
ver = mfpvr() >> 16;
|
||||||
#if defined(AIM)
|
#if defined(AIM)
|
||||||
if (MPC745X_P(ver))
|
if (MPC745X_P(ver))
|
||||||
printf(" msssr0 = 0x%x\n",
|
printf(" msssr0 = 0x%" PRIxPTR "\n",
|
||||||
mfspr(SPR_MSSSR0));
|
mfspr(SPR_MSSSR0));
|
||||||
#elif defined(BOOKE)
|
#elif defined(BOOKE)
|
||||||
printf(" mcsr = 0x%x\n",
|
printf(" mcsr = 0x%" PRIxPTR "\n",
|
||||||
mfspr(SPR_MCSR));
|
mfspr(SPR_MCSR));
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user