diff mbox series

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

Message ID 20240201204329.24202-1-schmitzmic@gmail.com (mailing list archive)
State New
Headers show
Series m68k: include module.h to make use of exception handling in traps.c | expand

Commit Message

Michael Schmitz Feb. 1, 2024, 8:43 p.m. UTC
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.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401302324.d3o6tgup-lkp@intel.com/
Cc: <cip-dev@lists.cip-project.org> # 4.4
Cc: Ulrich Hecht <uli@fpond.eu>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
---
 arch/m68k/kernel/traps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ulrich Hecht Feb. 2, 2024, 3:54 a.m. UTC | #1
> On 02/01/2024 9:43 PM CET Michael Schmitz <schmitzmic@gmail.com> wrote:
> 
>  
> 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.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202401302324.d3o6tgup-lkp@intel.com/
> Cc: <cip-dev@lists.cip-project.org> # 4.4
> Cc: Ulrich Hecht <uli@fpond.eu>
> Cc: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
> ---
>  arch/m68k/kernel/traps.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/m68k/kernel/traps.c b/arch/m68k/kernel/traps.c
> index c547140b8325..2209214cf91c 100644
> --- a/arch/m68k/kernel/traps.c
> +++ b/arch/m68k/kernel/traps.c
> @@ -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>
> -- 
> 2.17.1

Applied, thank you.

CU
Uli
diff mbox series

Patch

diff --git a/arch/m68k/kernel/traps.c b/arch/m68k/kernel/traps.c
index c547140b8325..2209214cf91c 100644
--- a/arch/m68k/kernel/traps.c
+++ b/arch/m68k/kernel/traps.c
@@ -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>