diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-05-27 08:40:39 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-05-28 04:39:16 -0400 |
commit | 63aef00b55d37e9fad837a8b38a2c261f0d32041 (patch) | |
tree | 3cc75663f7b7aef3e303d440a927488e3660657e /arch/s390/include/asm/lowcore.h | |
parent | 993072ee67aa179c48c85eb19869804e68887d86 (diff) |
s390/lowcore: replace lowcore irb array with a per-cpu variable
Remove the 96-byte irb array from the lowcore and create a per-cpu
variable instead. That way we will pick up any change in the definition
of the struct irb automatically.
Acked-By: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/lowcore.h')
-rw-r--r-- | arch/s390/include/asm/lowcore.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/s390/include/asm/lowcore.h b/arch/s390/include/asm/lowcore.h index a406f24737cd..2070cad80e9e 100644 --- a/arch/s390/include/asm/lowcore.h +++ b/arch/s390/include/asm/lowcore.h | |||
@@ -143,10 +143,7 @@ struct _lowcore { | |||
143 | __u32 ftrace_func; /* 0x02f8 */ | 143 | __u32 ftrace_func; /* 0x02f8 */ |
144 | __u32 spinlock_lockval; /* 0x02fc */ | 144 | __u32 spinlock_lockval; /* 0x02fc */ |
145 | 145 | ||
146 | /* Interrupt response block */ | 146 | __u8 pad_0x0300[0x0e00-0x0300]; /* 0x0300 */ |
147 | __u8 irb[96]; /* 0x0300 */ | ||
148 | |||
149 | __u8 pad_0x0360[0x0e00-0x0360]; /* 0x0360 */ | ||
150 | 147 | ||
151 | /* | 148 | /* |
152 | * 0xe00 contains the address of the IPL Parameter Information | 149 | * 0xe00 contains the address of the IPL Parameter Information |
@@ -292,14 +289,10 @@ struct _lowcore { | |||
292 | __u32 spinlock_lockval; /* 0x03a0 */ | 289 | __u32 spinlock_lockval; /* 0x03a0 */ |
293 | __u8 pad_0x03a0[0x0400-0x03a4]; /* 0x03a4 */ | 290 | __u8 pad_0x03a0[0x0400-0x03a4]; /* 0x03a4 */ |
294 | 291 | ||
295 | /* Interrupt response block. */ | ||
296 | __u8 irb[96]; /* 0x0400 */ | ||
297 | __u8 pad_0x0460[0x0480-0x0460]; /* 0x0460 */ | ||
298 | |||
299 | /* Per cpu primary space access list */ | 292 | /* Per cpu primary space access list */ |
300 | __u32 paste[16]; /* 0x0480 */ | 293 | __u32 paste[16]; /* 0x0400 */ |
301 | 294 | ||
302 | __u8 pad_0x04c0[0x0e00-0x04c0]; /* 0x04c0 */ | 295 | __u8 pad_0x04c0[0x0e00-0x0440]; /* 0x0440 */ |
303 | 296 | ||
304 | /* | 297 | /* |
305 | * 0xe00 contains the address of the IPL Parameter Information | 298 | * 0xe00 contains the address of the IPL Parameter Information |