powerpc: Update cpu_user_features2 in scan_features()
authorAnton Blanchard <anton@samba.org>
Fri, 15 Apr 2016 02:07:24 +0000 (12:07 +1000)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 8 May 2016 12:09:04 +0000 (08:09 -0400)
commit90a6cf66d1112f32e4669dd99b7d0c8b6af23d01
tree5186e8000955f7e2d7247d48d5b07efd9654655e
parent85f0cb09c6458014e7bb168bc764675a06dc4dca
powerpc: Update cpu_user_features2 in scan_features()

[ Upstream commit beff82374b259d726e2625ec6c518a5f2613f0ae ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/powerpc/kernel/prom.c