Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-9325 obd: replace lprocfs_str_to_s64
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
linux
/
linux-misc.h
diff --git
a/libcfs/include/libcfs/linux/linux-misc.h
b/libcfs/include/libcfs/linux/linux-misc.h
index
57ebfea
..
68f37ec
100644
(file)
--- a/
libcfs/include/libcfs/linux/linux-misc.h
+++ b/
libcfs/include/libcfs/linux/linux-misc.h
@@
-160,4
+160,10
@@
static inline int kstrtoul(const char *s, unsigned int base, unsigned long *res)
}
#endif /* !HAVE_KSTRTOUL */
+#ifndef HAVE_KSTRTOBOOL_FROM_USER
+
+#define kstrtobool strtobool
+
+int kstrtobool_from_user(const char __user *s, size_t count, bool *res);
+#endif
#endif