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 #include +#if defined(__amd64__) || defined(__i386__) #include -#if defined(__amd64__) || defined(__i386__) #include #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()