m68k: kernel: Include <linux/cpu.h> for trap_init()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 13 Sep 2023 14:07:52 +0000 (16:07 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 6 Oct 2023 08:03:01 +0000 (10:03 +0200)
commite34b4acdf6488fbcdf890e72ecf925650c944503
tree8058210ccdd6cf841cb1d94f97ee07ac80bb5ca2
parent7b9f6ca7d43665d8f05174e724e77bc183401613
m68k: kernel: Include <linux/cpu.h> for trap_init()

When building with W=1:

    arch/m68k/kernel/vectors.c:74:13: warning: no previous prototype for ‘trap_init’ [-Wmissing-prototypes]
       74 | void __init trap_init (void)
  |             ^~~~~~~~~

Fix this by including <linux/cpu.h>.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/42e7055fab50deda1f7cd648982e90b7ab28fdc3.1694613528.git.geert@linux-m68k.org
arch/m68k/kernel/vectors.c