#define pr_fmt(fmt) "damon-lru-sort: " fmt
#include <linux/damon.h>
+#include <linux/kstrtox.h>
#include <linux/module.h>
#include "modules-common.h"
bool enable;
int err;
- err = strtobool(val, &enable);
+ err = kstrtobool(val, &enable);
if (err)
return err;
#define pr_fmt(fmt) "damon-reclaim: " fmt
#include <linux/damon.h>
+#include <linux/kstrtox.h>
#include <linux/module.h>
#include "modules-common.h"
bool enable;
int err;
- err = strtobool(val, &enable);
+ err = kstrtobool(val, &enable);
if (err)
return err;