]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
xen/control: Implement suspend has panic for ARM
authorJulien Grall <julien.grall@linaro.org>
Tue, 14 Jan 2014 01:41:15 +0000 (01:41 +0000)
committerJulien Grall <julien.grall@citrix.com>
Sat, 3 Oct 2015 18:37:29 +0000 (19:37 +0100)
sys/dev/xen/control/control.c

index f2851eea65f94148424b3453908b220fa0833e40..472cf11c81b527b2afc253d3a27e1d491fad1307 100644 (file)
@@ -187,6 +187,8 @@ xctrl_reboot()
        shutdown_nice(0);
 }
 
+#ifndef __arm__
+/* HVM mode suspension for x86 platform */
 static void
 xctrl_suspend()
 {
@@ -285,6 +287,15 @@ xctrl_suspend()
                printf("System resumed after suspension\n");
 
 }
+#else /* __arm */
+/* HVM suspend for ARM platform */
+static void
+xctrl_suspend()
+{
+       panic("xen/control: Suspend not handle for ARM platform!\n");
+}
+
+#endif /* !__arm__ */
 
 static void
 xctrl_crash()