]> 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)
commit35cebdd9f935510ad7894693145949605aaecc4a
tree77b88027d4360ad6903f36927a76f40ea6c71a68
parent07f7c5c07229aca41f7584eb283d7cf945546213
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