svn commit: r327443 - head/sys/powerpc/powerpc
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Dec 31 20:20:57 UTC 2017
Author: nwhitehorn
Date: Sun Dec 31 20:20:55 2017
New Revision: 327443
URL: https://svnweb.freebsd.org/changeset/base/327443
Log:
Fix 32-bit build.
Modified:
head/sys/powerpc/powerpc/trap.c
Modified: head/sys/powerpc/powerpc/trap.c
==============================================================================
--- head/sys/powerpc/powerpc/trap.c Sun Dec 31 20:10:08 2017 (r327442)
+++ head/sys/powerpc/powerpc/trap.c Sun Dec 31 20:20:55 2017 (r327443)
@@ -488,10 +488,10 @@ printtrap(u_int vector, struct trapframe *frame, int i
(int)frame->cpu.booke.esr, ESR_BITMASK);
#endif
printf(" srr0 = 0x%" PRIxPTR " (0x%" PRIxPTR ")\n",
- frame->srr0, frame->srr0 - (__startkernel - KERNBASE));
+ frame->srr0, frame->srr0 - (register_t)(__startkernel - KERNBASE));
printf(" srr1 = 0x%lx\n", (u_long)frame->srr1);
printf(" lr = 0x%" PRIxPTR " (0x%" PRIxPTR ")\n",
- frame->lr, frame->lr - (__startkernel - KERNBASE));
+ frame->lr, frame->lr - (register_t)(__startkernel - KERNBASE));
printf(" curthread = %p\n", curthread);
if (curthread != NULL)
printf(" pid = %d, comm = %s\n",
More information about the svn-src-all
mailing list