diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2011-11-15 17:49:00 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-05 11:11:05 -0500 |
commit | 2d070eff6bbbea6137ac14190805f9549c0a8b01 (patch) | |
tree | 81d9ba5a4a595bf21c9269e6b8e176edd4fad8c8 /arch/x86/mm | |
parent | 98b8b99ae1233a5408b136544e900a9cfb46e08f (diff) |
arch/x86/mm/pageattr.c: Quiet sparse noise; local functions should be static
Local functions should be marked static. This also quiets the
following sparse noise:
warning: symbol '_set_memory_array' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: hartleys@visionengravers.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/pageattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c index f9e526742fa1..eda2acbb6e81 100644 --- a/arch/x86/mm/pageattr.c +++ b/arch/x86/mm/pageattr.c | |||
@@ -998,7 +998,7 @@ out_err: | |||
998 | } | 998 | } |
999 | EXPORT_SYMBOL(set_memory_uc); | 999 | EXPORT_SYMBOL(set_memory_uc); |
1000 | 1000 | ||
1001 | int _set_memory_array(unsigned long *addr, int addrinarray, | 1001 | static int _set_memory_array(unsigned long *addr, int addrinarray, |
1002 | unsigned long new_type) | 1002 | unsigned long new_type) |
1003 | { | 1003 | { |
1004 | int i, j; | 1004 | int i, j; |