aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/swap_slots.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/swap_slots.h')
-rw-r--r--include/linux/swap_slots.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/swap_slots.h b/include/linux/swap_slots.h
index ba5623b27c60..6ef92d17633d 100644
--- a/include/linux/swap_slots.h
+++ b/include/linux/swap_slots.h
@@ -25,4 +25,6 @@ void reenable_swap_slots_cache_unlock(void);
int enable_swap_slots_cache(void);
int free_swap_slot(swp_entry_t entry);
+extern bool swap_slot_cache_enabled;
+
#endif /* _LINUX_SWAP_SLOTS_H */