summaryrefslogtreecommitdiff
path: root/mm/damon/Makefile
diff options
context:
space:
mode:
authortangmeng <tangmeng@uniontech.com>2022-03-23 00:49:09 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-23 01:57:12 +0300
commit3213a3c10fc81e8dd441b74b6555bb9cb287f898 (patch)
tree1aec982cfcf118ede7098e4cabef5b7b6f354827 /mm/damon/Makefile
parent851040566a008f7248cb754d5bb9a3e34f2effe5 (diff)
downloadlinux-3213a3c10fc81e8dd441b74b6555bb9cb287f898.tar.xz
mm/damon: remove unnecessary CONFIG_DAMON option
In mm/Makefile has: obj-$(CONFIG_DAMON) += damon/ So that we don't need 'obj-$(CONFIG_DAMON) :=' in mm/damon/Makefile, delete it from mm/damon/Makefile. Link: https://lkml.kernel.org/r/20220221065255.19991-1-tangmeng@uniontech.com Signed-off-by: tangmeng <tangmeng@uniontech.com> Cc: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/damon/Makefile')
-rw-r--r--mm/damon/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/damon/Makefile b/mm/damon/Makefile
index 03931472991a..aebbf6c14c51 100644
--- a/mm/damon/Makefile
+++ b/mm/damon/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_DAMON) := core.o
+obj-y := core.o
obj-$(CONFIG_DAMON_VADDR) += ops-common.o vaddr.o
obj-$(CONFIG_DAMON_PADDR) += ops-common.o paddr.o
obj-$(CONFIG_DAMON_DBGFS) += dbgfs.o