diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2022-07-06 16:48:50 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2022-07-12 11:48:21 +0300 |
commit | c07a16404c8f82a10bec12fd1b3a4064ca30f142 (patch) | |
tree | e6619c68f726773e20b93fb9286ceb59dd8b1797 /arch/m68k/include/asm | |
parent | c36dd297b6c09fff56b629a231cf2aa0af333c2d (diff) | |
download | linux-c07a16404c8f82a10bec12fd1b3a4064ca30f142.tar.xz |
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')
-rw-r--r-- | arch/m68k/include/asm/processor.h | 1 |
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) \ ({ \ |