powerpc: Rework setting up H/FSCR bit definitions
authorMichael Neuling <mikey@neuling.org>
Fri, 9 Aug 2013 07:29:28 +0000 (17:29 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 9 Aug 2013 08:07:01 +0000 (18:07 +1000)
commit74e400cee6c0266ba2d940ed78d981f1e24a8167
tree252c69091bfd2c2bc173e7f14f03637601ad9f87
parent88f094120bd2f012ff494ae50a8d4e0d8af8f69e
powerpc: Rework setting up H/FSCR bit definitions

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>
Cc: <stable@vger.kernel.org> [v3.10]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/reg.h