m68k: Add common forward declaration for show_registers()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 6 Jul 2022 13:48:50 +0000 (15:48 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 12 Jul 2022 08:48:21 +0000 (10:48 +0200)
commitc07a16404c8f82a10bec12fd1b3a4064ca30f142
treee6619c68f726773e20b93fb9286ceb59dd8b1797
parentc36dd297b6c09fff56b629a231cf2aa0af333c2d
m68k: Add common forward declaration for show_registers()

There are several forward declarations for show_registers() in C source
files.  Replace these by a single common forward declaration in
<asm/processor.h>, and include <asm/processor.h> where needed.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Link: https://lore.kernel.org/r/d5b6a7f9af3e82f0ccb67edac09d9ee45d457932.1657114791.git.geert@linux-m68k.org
arch/m68k/include/asm/processor.h
arch/m68k/kernel/traps.c
arch/m68k/mac/macints.c
arch/m68k/virt/ints.c