]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/prom: early_init_dt_scan_cpus() updates cpu features only once
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 28 Mar 2014 02:36:28 +0000 (13:36 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 7 Apr 2014 00:33:14 +0000 (10:33 +1000)
commit9795262b8f29de97db5b7274f391dc4c689eef9b
tree77b88027d4360ad6903f36927a76f40ea6c71a68
parent8247fda557c68b41b4d110b74bf7cafd47340dd8
powerpc/prom: early_init_dt_scan_cpus() updates cpu features only once

All our cpu feature updates were done for every CPU in the device-tree,
thus overwriting the cputable bits over and over again. Instead do them
only for the boot CPU.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/prom.c