diff options
author | Rolf Eike Beer <eike-kernel@sf-tec.de> | 2023-09-17 12:18:20 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-10-06 11:03:04 +0300 |
commit | ec177486cb278cddb6f03553e0a60d31df3932b6 (patch) | |
tree | aa2a406573ed2af1c6153a79faa32989de8ef92e /kernel/pid_sysctl.h | |
parent | c50b1fc110019a7b4aa08b2092a25e2e6c30f27c (diff) | |
download | linux-ec177486cb278cddb6f03553e0a60d31df3932b6.tar.xz |
m68k: Add missing types to asm/irq.h
As reported in commit f8b648bf6628 ("net: sunhme: move asm includes to
below linux includes") when including this <asm/*> header before the
needed <linux/*> headers the compilation will fail because of missing
types:
arch/m68k/include/asm/irq.h:66:20: warning: ‘struct pt_regs’ declared inside parameter list will not be visible outside of this definition or declaration
66 | struct pt_regs *));
| ^~~~~~~
arch/m68k/include/asm/irq.h:78:11: error: expected ‘;’ before ‘void’
78 | asmlinkage void do_IRQ(int irq, struct pt_regs *regs);
| ^~~~~
| ;
arch/m68k/include/asm/irq.h:78:40: warning: ‘struct pt_regs’ declared inside parameter list will not be visible outside of this definition or declaration
78 | asmlinkage void do_IRQ(int irq, struct pt_regs *regs);
| ^~~~~~~
arch/m68k/include/asm/irq.h:79:8: error: unknown type name ‘atomic_t’
79 | extern atomic_t irq_err_count;
| ^~~~~~~~
Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/5971770.lOV4Wx5bFT@eto.sf-tec.de
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'kernel/pid_sysctl.h')
0 files changed, 0 insertions, 0 deletions