aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorJens Freimann <jfrei@linux.vnet.ibm.com>2014-02-26 10:32:46 -0500
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-04-22 07:24:48 -0400
commit21ee7ffd176a238cf185c142bd4c20d0152eda4f (patch)
tree3a77853dd42472cee02ad9b30571a29fb0e391af /arch/s390/kernel/asm-offsets.c
parent3d53b46ce8b1b873cf8501bac251b8c0cf489d4f (diff)
s390: rename and split lowcore field per_perc_atmid
per_perc_atmid is currently a two-byte field that combines two fields, the PER code and the PER Addressing-and-Translation-Mode Identification (ATMID) Let's make them accessible indepently and also rename per_cause to per_code. Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/asm-offsets.c')
-rw-r--r--arch/s390/kernel/asm-offsets.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/s390/kernel/asm-offsets.c b/arch/s390/kernel/asm-offsets.c
index 94c18d482ce7..31e4ba4aaf17 100644
--- a/arch/s390/kernel/asm-offsets.c
+++ b/arch/s390/kernel/asm-offsets.c
@@ -89,9 +89,10 @@ int main(void)
89 DEFINE(__LC_PGM_ILC, offsetof(struct _lowcore, pgm_ilc)); 89 DEFINE(__LC_PGM_ILC, offsetof(struct _lowcore, pgm_ilc));
90 DEFINE(__LC_PGM_INT_CODE, offsetof(struct _lowcore, pgm_code)); 90 DEFINE(__LC_PGM_INT_CODE, offsetof(struct _lowcore, pgm_code));
91 DEFINE(__LC_TRANS_EXC_CODE, offsetof(struct _lowcore, trans_exc_code)); 91 DEFINE(__LC_TRANS_EXC_CODE, offsetof(struct _lowcore, trans_exc_code));
92 DEFINE(__LC_PER_CAUSE, offsetof(struct _lowcore, per_perc_atmid)); 92 DEFINE(__LC_PER_CODE, offsetof(struct _lowcore, per_code));
93 DEFINE(__LC_PER_ATMID, offsetof(struct _lowcore, per_atmid));
93 DEFINE(__LC_PER_ADDRESS, offsetof(struct _lowcore, per_address)); 94 DEFINE(__LC_PER_ADDRESS, offsetof(struct _lowcore, per_address));
94 DEFINE(__LC_PER_PAID, offsetof(struct _lowcore, per_access_id)); 95 DEFINE(__LC_PER_ACCESS_ID, offsetof(struct _lowcore, per_access_id));
95 DEFINE(__LC_AR_MODE_ID, offsetof(struct _lowcore, ar_mode_id)); 96 DEFINE(__LC_AR_MODE_ID, offsetof(struct _lowcore, ar_mode_id));
96 DEFINE(__LC_SUBCHANNEL_ID, offsetof(struct _lowcore, subchannel_id)); 97 DEFINE(__LC_SUBCHANNEL_ID, offsetof(struct _lowcore, subchannel_id));
97 DEFINE(__LC_SUBCHANNEL_NR, offsetof(struct _lowcore, subchannel_nr)); 98 DEFINE(__LC_SUBCHANNEL_NR, offsetof(struct _lowcore, subchannel_nr));