public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [PATCH] m68k: include module.h to make use of exception handling in traps.c
@ 2024-02-01 20:43 Michael Schmitz
  2024-02-02  3:54 ` [cip-dev] " Ulrich Hecht
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Schmitz @ 2024-02-01 20:43 UTC (permalink / raw)
  To: linux-m68k; +Cc: schmitzmic, cip-dev, Ulrich Hecht, Geert Uytterhoeven

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [cip-dev] [PATCH] m68k: include module.h to make use of exception handling in traps.c
  2024-02-01 20:43 [PATCH] m68k: include module.h to make use of exception handling in traps.c Michael Schmitz
@ 2024-02-02  3:54 ` Ulrich Hecht
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Hecht @ 2024-02-02  3:54 UTC (permalink / raw)
  To: cip-dev, Michael Schmitz, linux-m68k; +Cc: Geert Uytterhoeven


> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-02  3:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01 20:43 [PATCH] m68k: include module.h to make use of exception handling in traps.c Michael Schmitz
2024-02-02  3:54 ` [cip-dev] " Ulrich Hecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox