]> git.baikalelectronics.ru Git - kernel.git/commit
s390/ctl_reg: add union type for control register 0
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 1 Jan 2014 15:08:37 +0000 (16:08 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 22 Apr 2014 11:24:36 +0000 (13:24 +0200)
commit3ad52c3f3d8e03d1f10c7e4ab1675f5cb9d4859d
treeca4f365481dc75887659a6ae248c8b131de64a97
parentcb75cdaa0116ffd0b443892cdda8c433ba9b1eca
s390/ctl_reg: add union type for control register 0

Add 'union ctlreg0_bits' to easily allow setting and testing bits of
control register 0 bits.
This patch only adds the bits needed for the new guest access functions.
Other bits and control registers can be added when needed.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/ctl_reg.h