]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Update cpu_user_features2 in scan_features()
authorAnton Blanchard <anton@samba.org>
Fri, 15 Apr 2016 02:07:24 +0000 (12:07 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 May 2016 21:48:44 +0000 (14:48 -0700)
commit08c9b94505bbe09ed42f658de2a4dbe274fa7468
treef3d9089580d22cb34f064d3b5f75b06fd371181b
parent53f3e26b3d09ae40318877b74e0d6c1af767a07f
powerpc: Update cpu_user_features2 in scan_features()

commit beff82374b259d726e2625ec6c518a5f2613f0ae upstream.

scan_features() updates cpu_user_features but not cpu_user_features2.

Amongst other things, cpu_user_features2 contains the user TM feature
bits which we must keep in sync with the kernel TM feature bit.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/prom.c