git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xen: use device model for suspending xenbus devices
[safe/jmp/linux-2.6]
/
drivers
/
xen
/
xenbus
/
xenbus_xs.c
diff --git
a/drivers/xen/xenbus/xenbus_xs.c
b/drivers/xen/xenbus/xenbus_xs.c
index
e325eab
..
eab33f1
100644
(file)
--- 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];
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);
mutex_unlock(&xs_state.response_mutex);
mutex_unlock(&xs_state.request_mutex);
up_write(&xs_state.transaction_mutex);