2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00

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>
This commit is contained in:
H Hartley Sweeten 2011-11-15 14:49:00 -08:00 committed by Ingo Molnar
parent 98b8b99ae1
commit 2d070eff6b

View File

@ -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;