diff options
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 3a5b48e52a9e..060dd7b61c6d 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -244,7 +244,8 @@ static inline u32 reciprocal_scale(u32 val, u32 ep_ro) | |||
244 | 244 | ||
245 | #if defined(CONFIG_MMU) && \ | 245 | #if defined(CONFIG_MMU) && \ |
246 | (defined(CONFIG_PROVE_LOCKING) || defined(CONFIG_DEBUG_ATOMIC_SLEEP)) | 246 | (defined(CONFIG_PROVE_LOCKING) || defined(CONFIG_DEBUG_ATOMIC_SLEEP)) |
247 | void might_fault(void); | 247 | #define might_fault() __might_fault(__FILE__, __LINE__) |
248 | void __might_fault(const char *file, int line); | ||
248 | #else | 249 | #else |
249 | static inline void might_fault(void) { } | 250 | static inline void might_fault(void) { } |
250 | #endif | 251 | #endif |