Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106328829
D29599.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
785 B
Referenced Files
None
Subscribers
None
D29599.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D29599: xen/control: print warning on call of xctrl_suspend()
Attached
Detach File
Event Timeline
Log In to Comment