[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EACDB7E6DA201A2+20250211140740.1812778-1-wangyuli@uniontech.com>
Date: Tue, 11 Feb 2025 22:07:39 +0800
From: WangYuli <wangyuli@...ontech.com>
To: wangyuli@...ontech.com
Cc: tsbogend@...ha.franken.de,
linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org,
macro@...am.me.uk,
masahiroy@...nel.org,
jiaxun.yang@...goat.com,
zhanjun@...ontech.com,
guanwentao@...ontech.com
Subject: [PATCH 1/2] MIPS: Eliminate Redundant KBUILD_SYM32 Checks
Given that KBUILD_SYM32=y is a prerequisite for this statement to be
executed, it's logically redundant to verify KBUILD_SYM32 is y again.
Signed-off-by: WangYuli <wangyuli@...ontech.com>
---
arch/mips/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index be8cb44a89fd..962eb749ed23 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -302,7 +302,7 @@ ifdef CONFIG_64BIT
endif
ifeq ($(KBUILD_SYM32), y)
- cflags-$(KBUILD_SYM32) += -msym32 -DKBUILD_64BIT_SYM32
+ cflags-y += -msym32 -DKBUILD_64BIT_SYM32
else
ifeq ($(CONFIG_CPU_DADDI_WORKAROUNDS), y)
$(error CONFIG_CPU_DADDI_WORKAROUNDS unsupported without -msym32)
--
2.47.2
Powered by blists - more mailing lists