[PATCH RESEND] x86/build: remove unused OBJECT_FILES_NON_STANDARD_test_nx.o

From: Masahiro Yamada
Date: Mon Jul 11 2022 - 00:15:50 EST


Commit 3ad38ceb2769 ("x86/mm: Remove CONFIG_DEBUG_NX_TEST")
removed arch/x86/kernel/test_nx.c

Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
---

I sent the same patch in April:
https://lore.kernel.org/all/CAK7LNATRH4sHYrZk556Sjo4nP=S3qD170OMCZ21n0TEz7gyDUw@xxxxxxxxxxxxxx/

It did not make into the mainline.
I pinged the X86 maintainers, but none of them responded.



arch/x86/kernel/Makefile | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile
index 4c8b6ae802ac..a20a5ebfacd7 100644
--- a/arch/x86/kernel/Makefile
+++ b/arch/x86/kernel/Makefile
@@ -34,8 +34,6 @@ KASAN_SANITIZE_sev.o := n
# by several compilation units. To be safe, disable all instrumentation.
KCSAN_SANITIZE := n

-OBJECT_FILES_NON_STANDARD_test_nx.o := y
-
# If instrumentation of this dir is enabled, boot hangs during first second.
# Probably could be more selective here, but note that files related to irqs,
# boot, dumpstack/stacktrace, etc are either non-interesting or can lead to
--
2.32.0