svn commit: r316486 - head/sys/mips/mips
Edward Tomasz Napierala
trasz at FreeBSD.org
Tue Apr 4 08:17:04 UTC 2017
Author: trasz
Date: Tue Apr 4 08:17:03 2017
New Revision: 316486
URL: https://svnweb.freebsd.org/changeset/base/316486
Log:
Remove dead code/ifdef.
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Modified:
head/sys/mips/mips/trap.c
Modified: head/sys/mips/mips/trap.c
==============================================================================
--- head/sys/mips/mips/trap.c Tue Apr 4 06:16:59 2017 (r316485)
+++ head/sys/mips/mips/trap.c Tue Apr 4 08:17:03 2017 (r316486)
@@ -1334,13 +1334,8 @@ log_frame_dump(struct trapframe *frame)
log(LOG_ERR, "\tsr: %#jx\tmullo: %#jx\tmulhi: %#jx\tbadvaddr: %#jx\n",
(intmax_t)frame->sr, (intmax_t)frame->mullo, (intmax_t)frame->mulhi, (intmax_t)frame->badvaddr);
-#ifdef IC_REG
- log(LOG_ERR, "\tcause: %#jx\tpc: %#jx\tic: %#jx\n",
- (intmax_t)frame->cause, (intmax_t)frame->pc, (intmax_t)frame->ic);
-#else
log(LOG_ERR, "\tcause: %#jx\tpc: %#jx\n",
(intmax_t)frame->cause, (intmax_t)frame->pc);
-#endif
}
#ifdef TRAP_DEBUG
@@ -1381,13 +1376,8 @@ trap_frame_dump(struct trapframe *frame)
printf("\tsr: %#jx\tmullo: %#jx\tmulhi: %#jx\tbadvaddr: %#jx\n",
(intmax_t)frame->sr, (intmax_t)frame->mullo, (intmax_t)frame->mulhi, (intmax_t)frame->badvaddr);
-#ifdef IC_REG
- printf("\tcause: %#jx\tpc: %#jx\tic: %#jx\n",
- (intmax_t)frame->cause, (intmax_t)frame->pc, (intmax_t)frame->ic);
-#else
printf("\tcause: %#jx\tpc: %#jx\n",
(intmax_t)frame->cause, (intmax_t)frame->pc);
-#endif
}
#endif
More information about the svn-src-all
mailing list