]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: fix sparse warnings in int_64.c
authorSam Ravnborg <sam@ravnborg.org>
Fri, 16 May 2014 21:26:12 +0000 (23:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2014 02:01:35 +0000 (19:01 -0700)
commitc770d26ba716a4236d83c16bc224bd288c56fd5f
treef44f4feaf7561e74ca14b2d6b992a9c2347d7a31
parent7b917ff1e0389eae90f36ceebe70e27029e87da7
sparc64: fix sparse warnings in int_64.c

Fix following warnings:
init_64.c:798:5: warning: symbol 'numa_cpu_lookup_table' was not declared. Should it be static?
init_64.c:799:11: warning: symbol 'numa_cpumask_lookup_table' was not declared. Should it be static?

The warnings were present with an allnoconfig
Fix so the variables are only declared if CONFIG_NEED_MULTIPLE_NODES is defined.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/init_64.c