aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/lowcore.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2014-05-27 14:40:39 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-05-28 10:39:16 +0200
commit63aef00b55d37e9fad837a8b38a2c261f0d32041 (patch)
tree3cc75663f7b7aef3e303d440a927488e3660657e /arch/s390/include/asm/lowcore.h
parents390/lowcore: reserve 96 bytes for IRB in lowcore (diff)
downloadlinux-dev-63aef00b55d37e9fad837a8b38a2c261f0d32041.tar.xz
linux-dev-63aef00b55d37e9fad837a8b38a2c261f0d32041.zip
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.h13
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 {
__u32 ftrace_func; /* 0x02f8 */
__u32 spinlock_lockval; /* 0x02fc */
- /* Interrupt response block */
- __u8 irb[96]; /* 0x0300 */
-
- __u8 pad_0x0360[0x0e00-0x0360]; /* 0x0360 */
+ __u8 pad_0x0300[0x0e00-0x0300]; /* 0x0300 */
/*
* 0xe00 contains the address of the IPL Parameter Information
@@ -292,14 +289,10 @@ struct _lowcore {
__u32 spinlock_lockval; /* 0x03a0 */
__u8 pad_0x03a0[0x0400-0x03a4]; /* 0x03a4 */
- /* Interrupt response block. */
- __u8 irb[96]; /* 0x0400 */
- __u8 pad_0x0460[0x0480-0x0460]; /* 0x0460 */
-
/* Per cpu primary space access list */
- __u32 paste[16]; /* 0x0480 */
+ __u32 paste[16]; /* 0x0400 */
- __u8 pad_0x04c0[0x0e00-0x04c0]; /* 0x04c0 */
+ __u8 pad_0x04c0[0x0e00-0x0440]; /* 0x0440 */
/*
* 0xe00 contains the address of the IPL Parameter Information