powerpc: Rework setting up H/FSCR bit definitions
authorMichael Neuling <mikey@neuling.org>
Fri, 9 Aug 2013 07:29:28 +0000 (17:29 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2013 05:59:04 +0000 (22:59 -0700)
commitf60232beaf08ab9567fb40b55379acba0c649aed
tree9887966591f5fe52cdbcbf84afa24e3134d9c9b6
parent7ab7de87432c7d6544b8c1b45ba6520f4115539f
powerpc: Rework setting up H/FSCR bit definitions

commit 74e400cee6c0266ba2d940ed78d981f1e24a8167 upstream.

This reworks the Facility Status and Control Regsiter (FSCR) config bit
definitions so that we can access the bit numbers.  This is needed for a
subsequent patch to fix the userspace DSCR handling.

HFSCR and FSCR bit definitions are the same, so reuse them.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/include/asm/reg.h