powerpc: Add defintion for MSR[GS] to list of MSR bits
authorTimur Tabi <timur@freescale.com>
Tue, 3 Mar 2009 06:23:47 +0000 (06:23 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Mar 2009 06:10:16 +0000 (17:10 +1100)
commit9dca4efe88a8987b6e8496facc74de0555cc6617
treec0278646a73c40911121e23f839379d18e40517e
parentf8ff96db9be035a01065a8528c016d125945479a
powerpc: Add defintion for MSR[GS] to list of MSR bits

Add macros for the GS (guest state) bit to the list of MSR bit definitions.
On PowerPC cores that support embedded hypervisor mode, GS is cleared if
the system is running in hypervisor state (and MSR[PR] is cleared), and set
if it's running in guest state.  See the Power ISA 2.06 specification for
more information.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/reg_booke.h