aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortangmeng <[email protected]>2022-03-22 14:48:07 -0700
committerLinus Torvalds <[email protected]>2022-03-22 15:57:11 -0700
commit56eb8e9416e85ca7db4550b58e93ac88d7993c13 (patch)
tree16806ccb81f397e5e4d6e164fb7b8b7a0a39ac49
parent597da28e1abb4ad9f7255cbb57354158fd853e19 (diff)
mm/kfence: remove unnecessary CONFIG_KFENCE option
In mm/Makefile has: obj-$(CONFIG_KFENCE) += kfence/ So that we don't need 'obj-$(CONFIG_KFENCE) :=' in mm/kfence/Makefile, delete it from mm/kfence/Makefile. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: tangmeng <[email protected]> Reviewed-by: Marco Elver <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: Dmitriy Vyukov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/kfence/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/kfence/Makefile b/mm/kfence/Makefile
index 6872cd5e5390..0bb95728a784 100644
--- a/mm/kfence/Makefile
+++ b/mm/kfence/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_KFENCE) := core.o report.o
+obj-y := core.o report.o
CFLAGS_kfence_test.o := -g -fno-omit-frame-pointer -fno-optimize-sibling-calls
obj-$(CONFIG_KFENCE_KUNIT_TEST) += kfence_test.o