diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2011-11-15 14:49:00 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-05 17:11:05 +0100 |
commit | 2d070eff6bbbea6137ac14190805f9549c0a8b01 (patch) | |
tree | 81d9ba5a4a595bf21c9269e6b8e176edd4fad8c8 /arch/x86/mm | |
parent | 98b8b99ae1233a5408b136544e900a9cfb46e08f (diff) | |
download | blackbird-op-linux-2d070eff6bbbea6137ac14190805f9549c0a8b01.tar.gz blackbird-op-linux-2d070eff6bbbea6137ac14190805f9549c0a8b01.zip |
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: } EXPORT_SYMBOL(set_memory_uc); -int _set_memory_array(unsigned long *addr, int addrinarray, +static int _set_memory_array(unsigned long *addr, int addrinarray, unsigned long new_type) { int i, j; |