* [PATCH] power: Remove arch specific module bug stuff
@ 2024-05-03 0:23 linux
2024-05-08 13:39 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: linux @ 2024-05-03 0:23 UTC (permalink / raw)
To: mpe, npiggin; +Cc: linuxppc-dev, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
The last function to reference module_bug_list went in 2008's
commit b9754568ef17 ("powerpc: Remove dead module_find_bug code")
but I don't think that was called since 2006's
commit 73c9ceab40b1 ("[POWERPC] Generic BUG for powerpc")
Now that the list has gone, I think we can also clean up the bug
entries in mod_arch_specific.
Lightly boot tested.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
arch/powerpc/include/asm/module.h | 5 -----
arch/powerpc/kernel/module.c | 2 --
2 files changed, 7 deletions(-)
diff --git a/arch/powerpc/include/asm/module.h b/arch/powerpc/include/asm/module.h
index a8e2e8339fb7f..300c777cc3075 100644
--- a/arch/powerpc/include/asm/module.h
+++ b/arch/powerpc/include/asm/module.h
@@ -48,11 +48,6 @@ struct mod_arch_specific {
unsigned long tramp;
unsigned long tramp_regs;
#endif
-
- /* List of BUG addresses, source line numbers and filenames */
- struct list_head bug_list;
- struct bug_entry *bug_table;
- unsigned int num_bugs;
};
/*
diff --git a/arch/powerpc/kernel/module.c b/arch/powerpc/kernel/module.c
index f6d6ae0a16923..8989e069e3aae 100644
--- a/arch/powerpc/kernel/module.c
+++ b/arch/powerpc/kernel/module.c
@@ -17,8 +17,6 @@
#include <asm/setup.h>
#include <asm/sections.h>
-static LIST_HEAD(module_bug_list);
-
static const Elf_Shdr *find_section(const Elf_Ehdr *hdr,
const Elf_Shdr *sechdrs,
const char *name)
--
2.44.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] power: Remove arch specific module bug stuff
2024-05-03 0:23 [PATCH] power: Remove arch specific module bug stuff linux
@ 2024-05-08 13:39 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2024-05-08 13:39 UTC (permalink / raw)
To: mpe, npiggin, linux; +Cc: linuxppc-dev, linux-kernel
On Fri, 03 May 2024 01:23:17 +0100, linux@treblig.org wrote:
> The last function to reference module_bug_list went in 2008's
> commit b9754568ef17 ("powerpc: Remove dead module_find_bug code")
> but I don't think that was called since 2006's
> commit 73c9ceab40b1 ("[POWERPC] Generic BUG for powerpc")
>
> Now that the list has gone, I think we can also clean up the bug
> entries in mod_arch_specific.
>
> [...]
Applied to powerpc/next.
[1/1] power: Remove arch specific module bug stuff
https://git.kernel.org/powerpc/c/4071739249fd2e647e7058dbab0db4ddc0a0c427
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-08 13:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-03 0:23 [PATCH] power: Remove arch specific module bug stuff linux
2024-05-08 13:39 ` Michael Ellerman
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).