static pthread_mutex_t swap_mutex;
static pthread_cond_t swap_cond;
static struct swap_safe_queue swap_thread_queue;
-static const struct module_ops swap_modules_ops;
+static struct module_ops swap_modules_ops;
static float swap_hard_limit_fraction = SWAP_HARD_LIMIT_DEFAULT;
static enum swap_reclaim_node swap_node;
return RESOURCED_ERROR_NONE;
}
-static const struct module_ops swap_modules_ops = {
+static struct module_ops swap_modules_ops = {
.priority = MODULE_PRIORITY_NORMAL,
.name = "swap",
.init = resourced_swap_init,