|
@@ -38,9 +38,9 @@ static DEFINE_PER_CPU(struct swap_slots_cache, swp_slots);
|
|
|
static bool swap_slot_cache_active;
|
|
|
bool swap_slot_cache_enabled;
|
|
|
static bool swap_slot_cache_initialized;
|
|
|
-DEFINE_MUTEX(swap_slots_cache_mutex);
|
|
|
+static DEFINE_MUTEX(swap_slots_cache_mutex);
|
|
|
/* Serialize swap slots cache enable/disable operations */
|
|
|
-DEFINE_MUTEX(swap_slots_cache_enable_mutex);
|
|
|
+static DEFINE_MUTEX(swap_slots_cache_enable_mutex);
|
|
|
|
|
|
static void __drain_swap_slots_cache(unsigned int type);
|
|
|
static void deactivate_swap_slots_cache(void);
|