aboutsummaryrefslogtreecommitdiffstats
path: root/xenolinux-2.4.26-sparse/include/asm-xen/ctrl_if.h
diff options
context:
space:
mode:
Diffstat (limited to 'xenolinux-2.4.26-sparse/include/asm-xen/ctrl_if.h')
-rw-r--r--xenolinux-2.4.26-sparse/include/asm-xen/ctrl_if.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/xenolinux-2.4.26-sparse/include/asm-xen/ctrl_if.h b/xenolinux-2.4.26-sparse/include/asm-xen/ctrl_if.h
index a02e2471ea..5bc6cc22b1 100644
--- a/xenolinux-2.4.26-sparse/include/asm-xen/ctrl_if.h
+++ b/xenolinux-2.4.26-sparse/include/asm-xen/ctrl_if.h
@@ -80,8 +80,14 @@ void ctrl_if_send_response(ctrl_msg_t *msg);
* Register a receiver for typed messages from the domain controller. The
* handler (@hnd) is called for every received message of specified @type.
* Returns TRUE (non-zero) if the handler was successfully registered.
+ * If CALLBACK_IN_BLOCKING CONTEXT is specified in @flags then callbacks will
+ * occur in a context in which it is safe to yield (i.e., process context).
*/
-int ctrl_if_register_receiver(u8 type, ctrl_msg_handler_t hnd);
+#define CALLBACK_IN_BLOCKING_CONTEXT 1
+int ctrl_if_register_receiver(
+ u8 type,
+ ctrl_msg_handler_t hnd,
+ unsigned int flags);
/*
* Unregister a receiver for typed messages from the domain controller. The