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)
commitbeff82374b259d726e2625ec6c518a5f2613f0ae
treeee625326f9123ce68ea3150a655aab57e617a6e8
parent6997e57d693b07289694239e52a10d2f02c3a46f
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