powerpc/mm/nohash: Ignore NULL stale_map entries
authorScott Wood <scottwood@freescale.com>
Thu, 21 Mar 2013 00:06:12 +0000 (19:06 -0500)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 06:55:10 +0000 (16:55 +1000)
commit39a421ff0b7cb056e687894a9d5f57aa1303e1c8
treeede72853ac4ea78efe931da8076dddf4d8b31819
parent35fd219a268cc82cef842518cd64ea6949629ba2
powerpc/mm/nohash: Ignore NULL stale_map entries

This happens with threads that are offline due to CPU hotplug
(including threads that were never "plugged in" to begin with because
SMT is disabled).

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/mmu_context_nohash.c