]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit7222f779acf94a123557c7bbbfbcc19424589f52
tree77b88027d4360ad6903f36927a76f40ea6c71a68
parent36ae37e3436b0c7731ae15a03d9215ff24bef9f2
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