Page MenuHomeFreeBSD

D37641.diff
No OneTemporary

D37641.diff

diff --git a/usr.sbin/bhyve/spinup_ap.h b/usr.sbin/bhyve/spinup_ap.h
--- a/usr.sbin/bhyve/spinup_ap.h
+++ b/usr.sbin/bhyve/spinup_ap.h
@@ -31,6 +31,6 @@
#ifndef _SPINUP_AP_H_
#define _SPINUP_AP_H_
-int spinup_ap(struct vmctx *ctx, int newcpu, uint64_t rip);
+void spinup_ap(struct vmctx *ctx, int newcpu, uint64_t rip);
#endif
diff --git a/usr.sbin/bhyve/spinup_ap.c b/usr.sbin/bhyve/spinup_ap.c
--- a/usr.sbin/bhyve/spinup_ap.c
+++ b/usr.sbin/bhyve/spinup_ap.c
@@ -76,7 +76,7 @@
assert(error == 0);
}
-int
+void
spinup_ap(struct vmctx *ctx, int newcpu, uint64_t rip)
{
int error;
@@ -104,6 +104,4 @@
spinup_ap_realmode(ctx, newcpu, &rip);
vm_resume_cpu(ctx, newcpu);
-
- return (newcpu);
}

File Metadata

Mime Type
text/plain
Expires
Sat, Feb 1, 1:28 PM (21 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16383806
Default Alt Text
D37641.diff (715 B)

Event Timeline