[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] mini-os: drop shutdown variables when CONFIG_XENBUS=n
# HG changeset patch # User Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> # Date 1354785751 0 # Node ID 85ea612be837c6e765dce2de44c8aa874af79f3c # Parent 51767f7f6ccc604297be5a0a47e73b2963eca4d6 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@xxxxxxxxxxxx> Committed-by: Keir Fraser <keir@xxxxxxx> --- diff -r 51767f7f6ccc -r 85ea612be837 extras/mini-os/kernel.c --- a/extras/mini-os/kernel.c Thu Dec 06 09:21:49 2012 +0000 +++ b/extras/mini-os/kernel.c Thu Dec 06 09:22:31 2012 +0000 @@ -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) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |