Page MenuHomeFreeBSD

D29599.diff
No OneTemporary

D29599.diff

diff --git a/sys/dev/xen/control/control.c b/sys/dev/xen/control/control.c
--- a/sys/dev/xen/control/control.c
+++ b/sys/dev/xen/control/control.c
@@ -130,9 +130,9 @@
#include <geom/geom.h>
#include <machine/_inttypes.h>
+#if defined(__amd64__) || defined(__i386__)
#include <machine/intr_machdep.h>
-#if defined(__amd64__) || defined(__i386__)
#include <x86/apicvar.h>
#endif
@@ -196,6 +196,13 @@
shutdown_nice(0);
}
+#if !defined(__amd64__) && !defined(__i386__)
+static void
+xctrl_suspend()
+{
+ printf("WARNING: xen/control: Suspend not supported!\n");
+}
+#else /* __amd64__ || __i386__ */
static void
xctrl_suspend()
{
@@ -332,6 +339,7 @@
printf("System resumed after suspension\n");
}
+#endif /* __amd64__ || __i386__ */
static void
xctrl_crash()

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 29, 7:07 PM (7 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15632405
Default Alt Text
D29599.diff (785 B)

Event Timeline