style(9) cleanups.
Don't use PRIxPTR, these registers are 32-bits, cast to u_long instead. Pointed out by: bde
This commit is contained in:
parent
7076196a50
commit
20d891a86d
@ -426,11 +426,10 @@ printtrap(u_int vector, struct trapframe *frame, int isfatal, int user)
|
||||
ver = mfpvr() >> 16;
|
||||
#if defined(AIM)
|
||||
if (MPC745X_P(ver))
|
||||
printf(" msssr0 = 0x%" PRIxPTR "\n",
|
||||
mfspr(SPR_MSSSR0));
|
||||
printf(" msssr0 = 0x%lx\n",
|
||||
(u_long)mfspr(SPR_MSSSR0));
|
||||
#elif defined(BOOKE)
|
||||
printf(" mcsr = 0x%" PRIxPTR "\n",
|
||||
mfspr(SPR_MCSR));
|
||||
printf(" mcsr = 0x%lx\n", (u_long)mfspr(SPR_MCSR));
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user