diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-12-18 15:32:57 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-01-05 12:36:42 +0100 |
commit | f396a4d2314bf1cb83148d9b8fc47995e6c27e1f (patch) | |
tree | f5c8826e06b0e73c1f3a2222690242e569bb60ee /arch/microblaze/include/asm/kgdb.h | |
parent | microblaze: Remove unused prom header from reset.c (diff) | |
download | linux-f396a4d2314bf1cb83148d9b8fc47995e6c27e1f.tar.xz linux-f396a4d2314bf1cb83148d9b8fc47995e6c27e1f.zip |
microblaze: Declare microblaze_kgdb_break in header
This patch removes the warning:
arch/microblaze/kernel/kgdb.c:81:6: warning: no previous prototype for
'microblaze_kgdb_break' [-Wmissing-prototypes]
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/include/asm/kgdb.h')
-rw-r--r-- | arch/microblaze/include/asm/kgdb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/kgdb.h b/arch/microblaze/include/asm/kgdb.h index 78b17d40b235..ad27acb2b15f 100644 --- a/arch/microblaze/include/asm/kgdb.h +++ b/arch/microblaze/include/asm/kgdb.h @@ -23,6 +23,9 @@ static inline void arch_kgdb_breakpoint(void) __asm__ __volatile__("brki r16, 0x18;"); } +struct pt_regs; +asmlinkage void microblaze_kgdb_break(struct pt_regs *regs); + #endif /* __ASSEMBLY__ */ #endif /* __MICROBLAZE_KGDB_H__ */ #endif /* __KERNEL__ */ |