rx-user-dont-redefine-isafs-glock-for-ukernel-20040311
[openafs.git] / src / rx / rx_user.h
index d63f7c8..a11a4ce 100644 (file)
@@ -23,11 +23,14 @@ error - foo error - foo error - foo
 #define USERPRI
 #define AFS_GLOCK()
 #define AFS_GUNLOCK()
-#define ISAFS_GLOCK()
 #define AFS_ASSERT_GLOCK()
 #define AFS_RXGLOCK()
 #define AFS_RXGUNLOCK()
-#define ISAFS_RXGLOCK()
+#ifndef UKERNEL
+/* Defined in rx/UKERNEL/rx_kmutex.h */
+#define ISAFS_GLOCK() 
+#define ISAFS_RXGLOCK() 
+#endif
 #define AFS_ASSERT_RXGLOCK()
 /* Some "operating-system independent" stuff, for the user mode implementation */
 #ifdef UAFS_CLIENT