aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/processor.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2022-07-06 15:48:50 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2022-07-12 10:48:21 +0200
commitc07a16404c8f82a10bec12fd1b3a4064ca30f142 (patch)
treee6619c68f726773e20b93fb9286ceb59dd8b1797 /arch/m68k/include/asm/processor.h
parentm68k: mac: Remove forward declaration for mac_nmi_handler() (diff)
downloadlinux-dev-c07a16404c8f82a10bec12fd1b3a4064ca30f142.tar.xz
linux-dev-c07a16404c8f82a10bec12fd1b3a4064ca30f142.zip
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
Diffstat (limited to 'arch/m68k/include/asm/processor.h')
-rw-r--r--arch/m68k/include/asm/processor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/processor.h b/arch/m68k/include/asm/processor.h
index ffeda9aa526a..d86b4009880b 100644
--- a/arch/m68k/include/asm/processor.h
+++ b/arch/m68k/include/asm/processor.h
@@ -151,6 +151,7 @@ static inline void release_thread(struct task_struct *dead_task)
}
unsigned long __get_wchan(struct task_struct *p);
+void show_registers(struct pt_regs *regs);
#define KSTK_EIP(tsk) \
({ \