* [PATCH] vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros
@ 2023-09-30 7:13 Masahiro Yamada
2023-10-01 5:34 ` Paul Gortmaker
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2023-09-30 7:13 UTC (permalink / raw)
To: linux-kbuild
Cc: linux-kernel, Paul Gortmaker, Masahiro Yamada, Arnd Bergmann,
linux-arch
Remove the left-over of commit e24f6628811e ("modpost: remove all
traces of cpuinit/cpuexit sections").
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
include/asm-generic/vmlinux.lds.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 9c59409104f6..67d8dd2f1bde 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -138,13 +138,6 @@
* are handled as text/data or they can be discarded (which
* often happens at runtime)
*/
-#ifdef CONFIG_HOTPLUG_CPU
-#define CPU_KEEP(sec) *(.cpu##sec)
-#define CPU_DISCARD(sec)
-#else
-#define CPU_KEEP(sec)
-#define CPU_DISCARD(sec) *(.cpu##sec)
-#endif
#if defined(CONFIG_MEMORY_HOTPLUG)
#define MEM_KEEP(sec) *(.mem##sec)
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros
2023-09-30 7:13 [PATCH] vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros Masahiro Yamada
@ 2023-10-01 5:34 ` Paul Gortmaker
0 siblings, 0 replies; 2+ messages in thread
From: Paul Gortmaker @ 2023-10-01 5:34 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: linux-kbuild, linux-kernel, Arnd Bergmann, linux-arch
[[PATCH] vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros] On 30/09/2023 (Sat 16:13) Masahiro Yamada wrote:
> Remove the left-over of commit e24f6628811e ("modpost: remove all
> traces of cpuinit/cpuexit sections").
Hard to believe that cpuinit/cpuexit removal was over 10 years ago now.
Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Thanks,
Paul.
--
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
>
> include/asm-generic/vmlinux.lds.h | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
> index 9c59409104f6..67d8dd2f1bde 100644
> --- a/include/asm-generic/vmlinux.lds.h
> +++ b/include/asm-generic/vmlinux.lds.h
> @@ -138,13 +138,6 @@
> * are handled as text/data or they can be discarded (which
> * often happens at runtime)
> */
> -#ifdef CONFIG_HOTPLUG_CPU
> -#define CPU_KEEP(sec) *(.cpu##sec)
> -#define CPU_DISCARD(sec)
> -#else
> -#define CPU_KEEP(sec)
> -#define CPU_DISCARD(sec) *(.cpu##sec)
> -#endif
>
> #if defined(CONFIG_MEMORY_HOTPLUG)
> #define MEM_KEEP(sec) *(.mem##sec)
> --
> 2.39.2
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-01 5:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-30 7:13 [PATCH] vmlinux.lds.h: remove unused CPU_KEEP and CPU_DISCARD macros Masahiro Yamada
2023-10-01 5:34 ` Paul Gortmaker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).