Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jun 2019 15:52:27 +0000 (UTC)
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348840 - head/sys/riscv/riscv
Message-ID:  <201906091552.x59FqRvQ046749@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906091552.x59FqRvQ046749>