summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/signal.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2012-12-13 18:03:50 +0100
committerMichal Simek <michal.simek@xilinx.com>2012-12-13 18:15:39 +0100
commit4378bb695670e65ca4aeee1e7588cfa2381351a5 (patch)
treed765d3b5773061f17edc9403d948c011a68212b0 /arch/microblaze/kernel/signal.c
parentmicroblaze: lib: Add lib function declarations (diff)
downloadlinux-4378bb695670e65ca4aeee1e7588cfa2381351a5.tar.xz
linux-4378bb695670e65ca4aeee1e7588cfa2381351a5.zip
microblaze: signal: Declare do_notify_resume
Fix sparse warning by declaration do_notify_resume function called from entry.S. Warning: arch/microblaze/kernel/signal.c:357:6: warning: symbol 'do_notify_resume' was not declared. Should it be static? Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/signal.c')
-rw-r--r--arch/microblaze/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/signal.c b/arch/microblaze/kernel/signal.c
index 3903e3d11f5a..ac3d0a0f4814 100644
--- a/arch/microblaze/kernel/signal.c
+++ b/arch/microblaze/kernel/signal.c
@@ -354,7 +354,7 @@ static void do_signal(struct pt_regs *regs, int in_syscall)
restore_saved_sigmask();
}
-void do_notify_resume(struct pt_regs *regs, int in_syscall)
+asmlinkage void do_notify_resume(struct pt_regs *regs, int in_syscall)
{
/*
* We want the common case to go fast, which