#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