diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2009-02-09 12:05:50 -0800 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-30 09:26:56 -0700 |
commit | de5b31bd47de7e6f41be2e271318dbc8f1af354d (patch) | |
tree | d222e4ce03706e5047b78e060f85ed0b31727eaa /drivers/xen/xenbus/xenbus_xs.c | |
parent | a1ce1be578365a4da7e7d7db4812539d2d5da763 (diff) | |
download | blackbird-op-linux-de5b31bd47de7e6f41be2e271318dbc8f1af354d.tar.gz blackbird-op-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); |