projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hugetlbfs: add minimum size tracking fields to subpool structure
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
lockdep.h
diff --git
a/include/linux/lockdep.h
b/include/linux/lockdep.h
index 74ab23176e9b0a34edef8fcf0749d5107521bc90..066ba4157541a94b0bfadf4b9fb2e245fc75ab8e 100644
(file)
--- a/
include/linux/lockdep.h
+++ b/
include/linux/lockdep.h
@@
-531,8
+531,13
@@
do { \
# define might_lock_read(lock) do { } while (0)
#endif
# define might_lock_read(lock) do { } while (0)
#endif
-#ifdef CONFIG_
PROVE_RCU
+#ifdef CONFIG_
LOCKDEP
void lockdep_rcu_suspicious(const char *file, const int line, const char *s);
void lockdep_rcu_suspicious(const char *file, const int line, const char *s);
+#else
+static inline void
+lockdep_rcu_suspicious(const char *file, const int line, const char *s)
+{
+}
#endif
#endif /* __LINUX_LOCKDEP_H */
#endif
#endif /* __LINUX_LOCKDEP_H */