svn commit: r348840 - head/sys/riscv/riscv
Mitchell Horne
mhorne at FreeBSD.org
Sun Jun 9 15:52:28 UTC 2019
Author: mhorne
Date: Sun Jun 9 15:52:26 2019
New Revision: 348840
URL: https://svnweb.freebsd.org/changeset/base/348840
Log:
Remove unused mcall_trap() function
The mcall_trap() dummy function is unused, and should be removed as we
are unlikely to support M-mode traps any time soon.
Reviewed by: markj
Approved by: markj (mentor)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D20494
Modified:
head/sys/riscv/riscv/machdep.c
Modified: head/sys/riscv/riscv/machdep.c
==============================================================================
--- head/sys/riscv/riscv/machdep.c Sun Jun 9 15:50:35 2019 (r348839)
+++ head/sys/riscv/riscv/machdep.c Sun Jun 9 15:52:26 2019 (r348840)
@@ -126,15 +126,6 @@ cpuset_t all_harts;
extern int *end;
extern int *initstack_end;
-uintptr_t mcall_trap(uintptr_t mcause, uintptr_t* regs);
-
-uintptr_t
-mcall_trap(uintptr_t mcause, uintptr_t* regs)
-{
-
- return (0);
-}
-
static void
cpu_startup(void *dummy)
{
More information about the svn-src-all
mailing list