summaryrefslogtreecommitdiffstats
path: root/net/lapb
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2012-09-20 22:08:28 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-09-27 12:51:06 +1000
commit8e166991c0c3631b8af5a26990df77fa2a1d09e6 (patch)
treee630b3c73da4d29eecea8f46fc62a1f306c1cbd8 /net/lapb
parent466921c5a4669f4315528a25f9afd66601ce2c04 (diff)
downloadtalos-obmc-linux-8e166991c0c3631b8af5a26990df77fa2a1d09e6.tar.gz
talos-obmc-linux-8e166991c0c3631b8af5a26990df77fa2a1d09e6.zip
powerpc: Remove tlb batching hack for nighthawk
In hpte_init_native() we call tlb_batching_enabled() to decide if we should setup ppc_md.flush_hash_range. tlb_batching_enabled() checks the _unflattened_ device tree, to see if we are running on a nighthawk. Since commit a223535 ("dont allow pSeries_probe to succeed without initialising MMU", Dec 2006), hpte_init_native() has been called from pSeries_probe() - at which point we have not yet unflattened the device tree. This means tlb_batching_enabled() will always return true, so the hack has effectively been disabled since Dec 2006. Ergo, I think we can drop it. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud