* [PATCH] x86/vmlinux.lds: Remove unused .x86_intel_mid_dev.init section
@ 2026-03-29 16:16 Alexander Kuleshov
2026-03-30 9:46 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Kuleshov @ 2026-03-29 16:16 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, linux-kernel
Cc: Andy Shevchenko, Ard Biesheuvel, Alexander Kuleshov
The .x86_intel_mid_dev.init section and the symbols associated with it
are unused since the commit 4590d98f5a4f ("sfi: Remove framework for
deprecated firmware").
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
arch/x86/kernel/vmlinux.lds.S | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 4711a35e706c..1f127e0b8231 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -237,15 +237,6 @@ SECTIONS
__x86_cpu_dev_end = .;
}
-#ifdef CONFIG_X86_INTEL_MID
- .x86_intel_mid_dev.init : AT(ADDR(.x86_intel_mid_dev.init) - \
- LOAD_OFFSET) {
- __x86_intel_mid_dev_start = .;
- *(.x86_intel_mid_dev.init)
- __x86_intel_mid_dev_end = .;
- }
-#endif
-
#ifdef CONFIG_MITIGATION_RETPOLINE
/*
* List of instructions that call/jmp/jcc to retpoline thunks
--
2.53.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] x86/vmlinux.lds: Remove unused .x86_intel_mid_dev.init section
2026-03-29 16:16 [PATCH] x86/vmlinux.lds: Remove unused .x86_intel_mid_dev.init section Alexander Kuleshov
@ 2026-03-30 9:46 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2026-03-30 9:46 UTC (permalink / raw)
To: Alexander Kuleshov
Cc: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen,
linux-kernel, Ard Biesheuvel
On Sun, Mar 29, 2026 at 09:16:22PM +0500, Alexander Kuleshov wrote:
> The .x86_intel_mid_dev.init section and the symbols associated with it
> are unused since the commit 4590d98f5a4f ("sfi: Remove framework for
> deprecated firmware").
Good catch!
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-30 9:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-29 16:16 [PATCH] x86/vmlinux.lds: Remove unused .x86_intel_mid_dev.init section Alexander Kuleshov
2026-03-30 9:46 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®