Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initialize a variable in sys/dev/xen/control/control.c, to silence a gcc

warning.

Approved by:	re (gjb)
MFC after:      3 days
  • Loading branch information...
commit caf549fc9f1bec1d9aee96760d015ffc6821b7ae 1 parent 1d953d9
@DimitryAndric DimitryAndric authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  sys/dev/xen/control/control.c
View
1  sys/dev/xen/control/control.c
@@ -371,6 +371,7 @@ xctrl_suspend()
mtx_unlock(&Giant);
#ifdef SMP
+ CPU_ZERO(&cpu_suspend_map); /* silence gcc */
if (smp_started) {
/*
* Suspend other CPUs. This prevents IPIs while we
Please sign in to comment.
Something went wrong with that request. Please try again.