]> git.baikalelectronics.ru Git - kernel.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)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Apr 2016 10:10:45 +0000 (20:10 +1000)
commita802512ec53b95a75f94bd0ce24b086aa15dc457
treeee625326f9123ce68ea3150a655aab57e617a6e8
parent28c41f28bc6bb6ecb59ac68f56bc0402a0fd3f2d
powerpc: Update cpu_user_features2 in scan_features()

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>
Cc: stable@vger.kernel.org
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom.c