aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pstore.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/pstore.h b/include/linux/pstore.h
index 1788909d9a99..75d01760c911 100644
--- a/include/linux/pstore.h
+++ b/include/linux/pstore.h
@@ -68,12 +68,18 @@ struct pstore_info {
68 68
69#ifdef CONFIG_PSTORE 69#ifdef CONFIG_PSTORE
70extern int pstore_register(struct pstore_info *); 70extern int pstore_register(struct pstore_info *);
71extern bool pstore_cannot_block_path(enum kmsg_dump_reason reason);
71#else 72#else
72static inline int 73static inline int
73pstore_register(struct pstore_info *psi) 74pstore_register(struct pstore_info *psi)
74{ 75{
75 return -ENODEV; 76 return -ENODEV;
76} 77}
78static inline bool
79pstore_cannot_block_path(enum kmsg_dump_reason reason)
80{
81 return false;
82}
77#endif 83#endif
78 84
79#endif /*_LINUX_PSTORE_H*/ 85#endif /*_LINUX_PSTORE_H*/