svn commit: r331908 - head/sys/x86/x86
Andriy Gapon
avg at FreeBSD.org
Tue Apr 3 06:46:26 UTC 2018
Author: avg
Date: Tue Apr 3 06:46:26 2018
New Revision: 331908
URL: https://svnweb.freebsd.org/changeset/base/331908
Log:
fix signatures of cpu_reset_real and cpu_reset_proxy, broken in r331878
When I moved these functions from i386 and amd64 to x86 I dropped their
prototype declarations (that were correct) and left only their definitions
that became incorrect.
Reported by: bde
MFC after: 15 days
X-MFC with: r331878
Modified:
head/sys/x86/x86/cpu_machdep.c
Modified: head/sys/x86/x86/cpu_machdep.c
==============================================================================
--- head/sys/x86/x86/cpu_machdep.c Tue Apr 3 06:06:39 2018 (r331907)
+++ head/sys/x86/x86/cpu_machdep.c Tue Apr 3 06:46:26 2018 (r331908)
@@ -251,7 +251,7 @@ cpu_halt(void)
}
static void
-cpu_reset_real()
+cpu_reset_real(void)
{
struct region_descriptor null_idt;
int b;
@@ -324,7 +324,7 @@ cpu_reset_real()
#ifdef SMP
static void
-cpu_reset_proxy()
+cpu_reset_proxy(void)
{
cpu_reset_proxy_active = 1;
@@ -338,7 +338,7 @@ cpu_reset_proxy()
#endif
void
-cpu_reset()
+cpu_reset(void)
{
#ifdef SMP
cpuset_t map;
More information about the svn-src-all
mailing list