]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mm/damon: remove unnecessary CONFIG_DAMON option
authortangmeng <tangmeng@uniontech.com>
Tue, 22 Mar 2022 21:49:09 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:12 +0000 (15:57 -0700)
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>
mm/damon/Makefile

index 03931472991a4eb034bf86f47c64c1ee9e0c4a83..aebbf6c14c51ff4a18749007a655cd77e23acb81 100644 (file)
@@ -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