diff options
author | Michal Simek <michal.simek@xilinx.com> | 2012-12-13 21:03:50 +0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2012-12-13 21:15:39 +0400 |
commit | 4378bb695670e65ca4aeee1e7588cfa2381351a5 (patch) | |
tree | d765d3b5773061f17edc9403d948c011a68212b0 /arch/microblaze/include/asm/entry.h | |
parent | 9f2a45bd81ad2362b61fe2dc6fa202ae18308b7b (diff) | |
download | linux-4378bb695670e65ca4aeee1e7588cfa2381351a5.tar.xz |
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/include/asm/entry.h')
-rw-r--r-- | arch/microblaze/include/asm/entry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/entry.h b/arch/microblaze/include/asm/entry.h index af0144b91b79..b4a4cb150aa9 100644 --- a/arch/microblaze/include/asm/entry.h +++ b/arch/microblaze/include/asm/entry.h @@ -29,6 +29,8 @@ DECLARE_PER_CPU(unsigned int, KM); /* Kernel/user mode */ DECLARE_PER_CPU(unsigned int, ENTRY_SP); /* Saved SP on kernel entry */ DECLARE_PER_CPU(unsigned int, R11_SAVE); /* Temp variable for entry */ DECLARE_PER_CPU(unsigned int, CURRENT_SAVE); /* Saved current pointer */ + +extern asmlinkage void do_notify_resume(struct pt_regs *regs, int in_syscall); # endif /* __ASSEMBLY__ */ #endif /* _ASM_MICROBLAZE_ENTRY_H */ |