powerpc: Fix warnings for arch/powerpc/mm/numa.c
authorRobert Jennings <rcj@linux.vnet.ibm.com>
Mon, 28 Oct 2013 14:20:50 +0000 (09:20 -0500)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 30 Oct 2013 05:00:24 +0000 (16:00 +1100)
commitec32dd663da29d0e2e3ca964d6a94c683a6582a9
tree789fbd9ed4a8e4295732cbdf695ecb709cf3fcc8
parentf5467e28d4e2569b2c71435d438ce3c7f9ac238e
powerpc: Fix warnings for arch/powerpc/mm/numa.c

Simple fixes for sparse warnings in this file.

Resolves:
arch/powerpc/mm/numa.c:198:24:
        warning: Using plain integer as NULL pointer

arch/powerpc/mm/numa.c:1157:5:
       warning: symbol 'hot_add_node_scn_to_nid' was not declared.
                Should it be static?

arch/powerpc/mm/numa.c:1238:28:
       warning: Using plain integer as NULL pointer

arch/powerpc/mm/numa.c:1538:6:
       warning: symbol 'topology_schedule_update' was not declared.
                Should it be static?

Signed-off-by: Robert C Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c