mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
mini-os: drop shutdown variables when CONFIG_XENBUS=n
Shutdown variables are meaningless when CONFIG_XENBUS=n since no shutdown event will ever happen. Better make sure that no code tries to use it and never get the hoped shutdown event. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Committed-by: Keir Fraser <keir@xen.org>
This commit is contained in:
1 parent
f50091147c
commit
62c21392fc
1 file changed
+2
@@ -48,9 +48,11 @@
|
||||
|
||||
uint8_t xen_features[XENFEAT_NR_SUBMAPS * 32];
|
||||
|
||||
#ifdef CONFIG_XENBUS
|
||||
unsigned int do_shutdown = 0;
|
||||
unsigned int shutdown_reason;
|
||||
DECLARE_WAIT_QUEUE_HEAD(shutdown_queue);
|
||||
#endif
|
||||
|
||||
void setup_xen_features(void)
|
||||
{
|
||||
|
||||