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>
This commit is contained in:
Martin Schwidefsky
2014-05-27 14:40:39 +02:00
parent 993072ee67
commit 63aef00b55
8 changed files with 16 additions and 19 deletions

View File

@@ -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