Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb4e59
)
Branch HEAD
author
adilger
<adilger>
Thu, 4 Sep 2008 08:18:33 +0000
(08:18 +0000)
committer
adilger
<adilger>
Thu, 4 Sep 2008 08:18:33 +0000
(08:18 +0000)
Fix build problem for vendor kernels that have back-ported lockdep.
libcfs/include/libcfs/linux/linux-lock.h
patch
|
blob
|
history
diff --git
a/libcfs/include/libcfs/linux/linux-lock.h
b/libcfs/include/libcfs/linux/linux-lock.h
index
474132b
..
2f7ba36
100644
(file)
--- a/
libcfs/include/libcfs/linux/linux-lock.h
+++ b/
libcfs/include/libcfs/linux/linux-lock.h
@@
-145,7
+145,7
@@
static inline int mutex_is_locked(struct mutex *lock)
}
#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) */
-#if
LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
+#if
ndef lockdep_set_class
/**************************************************************************
*