diff -r d2451033c8df drivers/xen/xenbus/xenbus_xs.c --- a/drivers/xen/xenbus/xenbus_xs.c Wed Jul 25 14:59:21 2007 -0400 +++ b/drivers/xen/xenbus/xenbus_xs.c Thu Jul 26 09:24:08 2007 -0400 @@ -717,8 +717,10 @@ static int xenwatch_thread(void *unused) { struct list_head *ent; struct xs_stored_msg *msg; - + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,6) current->flags |= PF_NOFREEZE; +#endif for (;;) { wait_event_interruptible(watch_events_waitq, !list_empty(&watch_events)); @@ -837,7 +839,9 @@ static int xenbus_thread(void *unused) { int err; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,6) current->flags |= PF_NOFREEZE; +#endif for (;;) { err = process_msg(); if (err)