diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2009-02-09 21:05:50 +0100 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-30 18:26:56 +0200 |
commit | de5b31bd47de7e6f41be2e271318dbc8f1af354d (patch) | |
tree | d222e4ce03706e5047b78e060f85ed0b31727eaa /drivers/xen/xenbus/xenbus_xs.c | |
parent | xen: remove suspend_cancel hook (diff) | |
download | linux-de5b31bd47de7e6f41be2e271318dbc8f1af354d.tar.xz linux-de5b31bd47de7e6f41be2e271318dbc8f1af354d.zip |
xen: use device model for suspending xenbus devices
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'drivers/xen/xenbus/xenbus_xs.c')
-rw-r--r-- | drivers/xen/xenbus/xenbus_xs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/xen/xenbus/xenbus_xs.c b/drivers/xen/xenbus/xenbus_xs.c index e325eab4724d..eab33f1dbdf7 100644 --- a/drivers/xen/xenbus/xenbus_xs.c +++ b/drivers/xen/xenbus/xenbus_xs.c @@ -673,6 +673,8 @@ void xs_resume(void) struct xenbus_watch *watch; char token[sizeof(watch) * 2 + 1]; + xb_init_comms(); + mutex_unlock(&xs_state.response_mutex); mutex_unlock(&xs_state.request_mutex); up_write(&xs_state.transaction_mutex); |