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
This commit is contained in:
Mitchell Horne 2019-06-09 15:52:26 +00:00
parent c04c594daa
commit ff0e7938f2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348840

View File

@ -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)
{