git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Ukernel prototypes
[openafs.git]
/
src
/
afs
/
afs_osi.h
diff --git
a/src/afs/afs_osi.h
b/src/afs/afs_osi.h
index
378f6d4
..
cc4f1d2
100644
(file)
--- a/
src/afs/afs_osi.h
+++ b/
src/afs/afs_osi.h
@@
-279,7
+279,7
@@
typedef struct timeval osi_timeval_t;
* and kernel space. Call these to avoid taking page faults while
* holding the global lock.
*/
-#ifdef CAST_USER_ADDR_T
+#if defined(CAST_USER_ADDR_T) && !defined(UKERNEL)
#define __U(X) CAST_USER_ADDR_T((X))
#else
#define __U(X) (X)