summaryrefslogtreecommitdiff
path: root/arch/microblaze/kernel
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-12-18 17:32:57 +0300
committerMichal Simek <michal.simek@xilinx.com>2015-01-05 14:36:42 +0300
commitf396a4d2314bf1cb83148d9b8fc47995e6c27e1f (patch)
treef5c8826e06b0e73c1f3a2222690242e569bb60ee /arch/microblaze/kernel
parentb366f11b9a81ad0cc7ed3cbdaca15bb98f96db25 (diff)
downloadlinux-f396a4d2314bf1cb83148d9b8fc47995e6c27e1f.tar.xz
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/kernel')
-rw-r--r--arch/microblaze/kernel/kgdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/kgdb.c b/arch/microblaze/kernel/kgdb.c
index 09a5e8286137..4bd44b6cbc3b 100644
--- a/arch/microblaze/kernel/kgdb.c
+++ b/arch/microblaze/kernel/kgdb.c
@@ -12,6 +12,7 @@
#include <linux/io.h>
#include <asm/cacheflush.h>
#include <asm/asm-offsets.h>
+#include <asm/kgdb.h>
#include <asm/pvr.h>
#define GDB_REG 0
@@ -77,7 +78,7 @@ void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs)
pt_regb[i] = gdb_regs[i];
}
-void microblaze_kgdb_break(struct pt_regs *regs)
+asmlinkage void microblaze_kgdb_break(struct pt_regs *regs)
{
if (kgdb_handle_exception(1, SIGTRAP, 0, regs) != 0)
return;