]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: move default SPR recording
authorNicholas Piggin <npiggin@gmail.com>
Tue, 13 Feb 2018 15:08:17 +0000 (01:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Mar 2018 12:34:26 +0000 (23:34 +1100)
commit4aeed9ad3bf44ecac38d634009270870c71e711c
treeec65bc93c77077097d0d6326da4750dbd384cd05
parent55a55305dc34838c4e9429f84a2841a02190fa26
powerpc/64: move default SPR recording

Move this into the early setup code, and don't iterate over CPU masks.
We don't want to call into sysfs so early from setup, and a future patch
won't initialize CPU masks by the time this is called.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Fold in incremental fix from Nick for DSCR handling]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/setup.h
arch/powerpc/kernel/setup_64.c
arch/powerpc/kernel/sysfs.c