diff mbox series

[RFC,17/86] sched/preempt: remove PREEMPT_DYNAMIC from the build version

Message ID 20231107215742.363031-18-ankur.a.arora@oracle.com (mailing list archive)
State New
Headers show
Series Make the kernel preemptible | expand

Commit Message

Ankur Arora Nov. 7, 2023, 9:57 p.m. UTC
As the PREEMPT_DYNAMIC logic is going away, also remove PREEMPT_DYNAMIC
from the generated build version and go back to the original string.

Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com>
---
 init/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/init/Makefile b/init/Makefile
index ec557ada3c12..385fd80fa2ef 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -24,8 +24,7 @@  mounts-$(CONFIG_BLK_DEV_INITRD)	+= do_mounts_initrd.o
 #
 
 smp-flag-$(CONFIG_SMP)			:= SMP
-preempt-flag-$(CONFIG_PREEMPT_BUILD)	:= PREEMPT
-preempt-flag-$(CONFIG_PREEMPT_DYNAMIC)	:= PREEMPT_DYNAMIC
+preempt-flag-$(CONFIG_PREEMPT)          := PREEMPT
 preempt-flag-$(CONFIG_PREEMPT_RT)	:= PREEMPT_RT
 
 build-version = $(or $(KBUILD_BUILD_VERSION), $(build-version-auto))