]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/misc/sgi-xp/xpc_sn2.c
sgi-xpc: implement opencomplete messaging
[net-next-2.6.git] / drivers / misc / sgi-xp / xpc_sn2.c
index 43ad2968daf57f018c3afae94840c81ca7c1f93b..09bc1989f2168aca9779b9907df9200a0022d02e 100644 (file)
@@ -430,6 +430,13 @@ xpc_send_chctl_openreply_sn2(struct xpc_channel *ch, unsigned long *irq_flags)
        XPC_SEND_NOTIFY_IRQ_SN2(ch, XPC_CHCTL_OPENREPLY, irq_flags);
 }
 
+static void
+xpc_send_chctl_opencomplete_sn2(struct xpc_channel *ch,
+                               unsigned long *irq_flags)
+{
+       XPC_SEND_NOTIFY_IRQ_SN2(ch, XPC_CHCTL_OPENCOMPLETE, irq_flags);
+}
+
 static void
 xpc_send_chctl_msgrequest_sn2(struct xpc_channel *ch)
 {
@@ -2380,6 +2387,7 @@ xpc_init_sn2(void)
        xpc_send_chctl_closereply = xpc_send_chctl_closereply_sn2;
        xpc_send_chctl_openrequest = xpc_send_chctl_openrequest_sn2;
        xpc_send_chctl_openreply = xpc_send_chctl_openreply_sn2;
+       xpc_send_chctl_opencomplete = xpc_send_chctl_opencomplete_sn2;
 
        xpc_save_remote_msgqueue_pa = xpc_save_remote_msgqueue_pa_sn2;