[IA64-SGI] sn2 mutex conversion
[sfrench/cifs-2.6.git] / include / asm-ia64 / sn / xp.h
index 203945ae034e1c70e5a8aee672a6b40e22bbfdc1..9bd2f9bf329b39538f5d762a391a0baf98eba980 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <linux/cache.h>
 #include <linux/hardirq.h>
+#include <linux/mutex.h>
 #include <asm/sn/types.h>
 #include <asm/sn/bte.h>
 
@@ -359,7 +360,7 @@ typedef void (*xpc_notify_func)(enum xpc_retval reason, partid_t partid,
  * the channel.
  */
 struct xpc_registration {
-       struct semaphore sema;
+       struct mutex mutex;
        xpc_channel_func func;          /* function to call */
        void *key;                      /* pointer to user's key */
        u16 nentries;                   /* #of msg entries in local msg queue */