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>
This commit is contained in:

committed by
David S. Miller

parent
d191723fee
commit
7c8ee361ae
@@ -10,8 +10,11 @@
|
||||
#include <linux/mm.h>
|
||||
#include <linux/smp.h>
|
||||
|
||||
#include <asm/cacheflush.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
#include "kernel.h"
|
||||
|
||||
/* Do save's until all user register windows are out of the cpu. */
|
||||
void flush_user_windows(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user