aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/sn/xp.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-02-08 09:43:08 +1100
committerPaul Mackerras <paulus@samba.org>2006-02-08 09:43:08 +1100
commit8f75015f33c3005e0bbf83ffc0d5e0b4262cc03d (patch)
treea3c34ad86ccdc904bb43af6cd1cb163231c29276 /include/asm-ia64/sn/xp.h
parent[PATCH] PPC32 8xx: support for the physmapped flash on m8xx (diff)
parent[PATCH] powerpc: Lindent platforms/83xx (diff)
downloadlinux-dev-8f75015f33c3005e0bbf83ffc0d5e0b4262cc03d.tar.xz
linux-dev-8f75015f33c3005e0bbf83ffc0d5e0b4262cc03d.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
Diffstat (limited to 'include/asm-ia64/sn/xp.h')
-rw-r--r--include/asm-ia64/sn/xp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-ia64/sn/xp.h b/include/asm-ia64/sn/xp.h
index 203945ae034e..9bd2f9bf329b 100644
--- a/include/asm-ia64/sn/xp.h
+++ b/include/asm-ia64/sn/xp.h
@@ -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 */