diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-04-21 21:39:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-29 07:12:25 +0200 |
commit | 7c8ee361aea9d95cc652490a347bb68072579dc9 (patch) | |
tree | b9df5e96c1bf5cea2146be6e9ad1f1e7eae183bc /arch/sparc/kernel/kernel.h | |
parent | sparc32: fix sparse warnings in setup_32.c (diff) | |
download | linux-7c8ee361aea9d95cc652490a347bb68072579dc9.tar.xz linux-7c8ee361aea9d95cc652490a347bb68072579dc9.zip |
sparc32: fix sparse warnings in windows.c
Fix following warnings:
windows.c:16:6: warning: symbol 'flush_user_windows' was not declared. Should it be static?
windows.c:109:6: warning: symbol 'try_to_clear_window_buffer' was not declared. Should it be static?
Add missing include of cacheflush.h + add declaration of try_to_clear_window_buffer in kernel.h
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/kernel.h')
-rw-r--r-- | arch/sparc/kernel/kernel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h index b293265e548e..7f05d3f65844 100644 --- a/arch/sparc/kernel/kernel.h +++ b/arch/sparc/kernel/kernel.h @@ -109,6 +109,10 @@ void do_notify_resume(struct pt_regs *regs, unsigned long orig_i0, asmlinkage int do_sys_sigstack(struct sigstack __user *ssptr, struct sigstack __user *ossptr, unsigned long sp); + +/* windows.c */ +void try_to_clear_window_buffer(struct pt_regs *regs, int who); + #else /* CONFIG_SPARC32 */ #endif /* CONFIG_SPARC32 */ #endif /* !(__SPARC_KERNEL_H) */ |