diff options
author | Jens Freimann <jfrei@linux.vnet.ibm.com> | 2014-02-10 04:55:37 -0500 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-04-22 07:24:48 -0400 |
commit | 3d53b46ce8b1b873cf8501bac251b8c0cf489d4f (patch) | |
tree | a98dd0b87e8c5c4d00c5ce0e9b8f19bfaf6eaa32 | |
parent | e497a96ae8eda8b693bebc8f464712cd788d641f (diff) |
s390: fix name of lowcore field at offset 0xa3
According to the Principles of Operation, at offset 0xA3
in the lowcore we have the "Architectural-Mode identification",
not an "access identification".
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>
-rw-r--r-- | arch/s390/include/asm/lowcore.h | 4 | ||||
-rw-r--r-- | arch/s390/kernel/asm-offsets.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/include/asm/lowcore.h b/arch/s390/include/asm/lowcore.h index bbf8141408cd..edfa89b67e78 100644 --- a/arch/s390/include/asm/lowcore.h +++ b/arch/s390/include/asm/lowcore.h | |||
@@ -62,7 +62,7 @@ struct _lowcore { | |||
62 | __u8 exc_access_id; /* 0x00a0 */ | 62 | __u8 exc_access_id; /* 0x00a0 */ |
63 | __u8 per_access_id; /* 0x00a1 */ | 63 | __u8 per_access_id; /* 0x00a1 */ |
64 | __u8 op_access_id; /* 0x00a2 */ | 64 | __u8 op_access_id; /* 0x00a2 */ |
65 | __u8 ar_access_id; /* 0x00a3 */ | 65 | __u8 ar_mode_id; /* 0x00a3 */ |
66 | __u8 pad_0x00a4[0x00b8-0x00a4]; /* 0x00a4 */ | 66 | __u8 pad_0x00a4[0x00b8-0x00a4]; /* 0x00a4 */ |
67 | __u16 subchannel_id; /* 0x00b8 */ | 67 | __u16 subchannel_id; /* 0x00b8 */ |
68 | __u16 subchannel_nr; /* 0x00ba */ | 68 | __u16 subchannel_nr; /* 0x00ba */ |
@@ -201,7 +201,7 @@ struct _lowcore { | |||
201 | __u8 exc_access_id; /* 0x00a0 */ | 201 | __u8 exc_access_id; /* 0x00a0 */ |
202 | __u8 per_access_id; /* 0x00a1 */ | 202 | __u8 per_access_id; /* 0x00a1 */ |
203 | __u8 op_access_id; /* 0x00a2 */ | 203 | __u8 op_access_id; /* 0x00a2 */ |
204 | __u8 ar_access_id; /* 0x00a3 */ | 204 | __u8 ar_mode_id; /* 0x00a3 */ |
205 | __u8 pad_0x00a4[0x00a8-0x00a4]; /* 0x00a4 */ | 205 | __u8 pad_0x00a4[0x00a8-0x00a4]; /* 0x00a4 */ |
206 | __u64 trans_exc_code; /* 0x00a8 */ | 206 | __u64 trans_exc_code; /* 0x00a8 */ |
207 | __u64 monitor_code; /* 0x00b0 */ | 207 | __u64 monitor_code; /* 0x00b0 */ |
diff --git a/arch/s390/kernel/asm-offsets.c b/arch/s390/kernel/asm-offsets.c index cc10cdd4d6a2..94c18d482ce7 100644 --- a/arch/s390/kernel/asm-offsets.c +++ b/arch/s390/kernel/asm-offsets.c | |||
@@ -92,7 +92,7 @@ int main(void) | |||
92 | DEFINE(__LC_PER_CAUSE, offsetof(struct _lowcore, per_perc_atmid)); | 92 | DEFINE(__LC_PER_CAUSE, offsetof(struct _lowcore, per_perc_atmid)); |
93 | DEFINE(__LC_PER_ADDRESS, offsetof(struct _lowcore, per_address)); | 93 | DEFINE(__LC_PER_ADDRESS, offsetof(struct _lowcore, per_address)); |
94 | DEFINE(__LC_PER_PAID, offsetof(struct _lowcore, per_access_id)); | 94 | DEFINE(__LC_PER_PAID, offsetof(struct _lowcore, per_access_id)); |
95 | DEFINE(__LC_AR_MODE_ID, offsetof(struct _lowcore, ar_access_id)); | 95 | DEFINE(__LC_AR_MODE_ID, offsetof(struct _lowcore, ar_mode_id)); |
96 | DEFINE(__LC_SUBCHANNEL_ID, offsetof(struct _lowcore, subchannel_id)); | 96 | DEFINE(__LC_SUBCHANNEL_ID, offsetof(struct _lowcore, subchannel_id)); |
97 | DEFINE(__LC_SUBCHANNEL_NR, offsetof(struct _lowcore, subchannel_nr)); | 97 | DEFINE(__LC_SUBCHANNEL_NR, offsetof(struct _lowcore, subchannel_nr)); |
98 | DEFINE(__LC_IO_INT_PARM, offsetof(struct _lowcore, io_int_parm)); | 98 | DEFINE(__LC_IO_INT_PARM, offsetof(struct _lowcore, io_int_parm)); |