Skip to contentSkip to conversation

m68k: include module.h to make use of exception handling in traps.c

PATCH Applied Michael Schmitz 2 participants 2 messages Feb 1, 2024 – Feb 2, 2024 m68k architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m68k: include module.h to make use of exception handling in traps.c

Backporting commit 513138a14063760e (m68k: Only force 030 bus error if PC not in exception table) to v4.4 by the CIP project revealed a build error due to extable.h not yet available.

extable.h was split off module.h in v4.8 (commit 0ef7653797addea8) so amend 513138a14063760e accordingly.

---
 arch/m68k/kernel/traps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/kernel/traps.c +1 -1
index c547140b8325..2209214cf91c 100644
@@ -29,7 +29,7 @@
 #include <linux/init.h>
 #include <linux/ptrace.h>
 #include <linux/kallsyms.h>
-#include <linux/extable.h>
+#include <linux/module.h>
 
 #include <asm/setup.h>
 #include <asm/fpu.h>
Signature · 1 line
2.17.1
Applied
#1 lore raw
Quoted 37 lines · CET Michael Schmitz

Backporting commit 513138a14063760e (m68k: Only force 030 bus error if PC not in exception table) to v4.4 by the CIP project revealed a build error due to extable.h not yet available.

extable.h was split off module.h in v4.8 (commit 0ef7653797addea8) so amend 513138a14063760e accordingly.

---
 arch/m68k/kernel/traps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/kernel/traps.c +1 -1
index c547140b8325..2209214cf91c 100644
@@ -29,7 +29,7 @@
 #include <linux/init.h>
 #include <linux/ptrace.h>
 #include <linux/kallsyms.h>
-#include <linux/extable.h>
+#include <linux/module.h>
 
 #include <asm/setup.h>
 #include <asm/fpu.h>
Signature · 1 line
2.17.1

Applied, thank you.

CU
Uli