Skip to content

Commit da292bb

Browse files
author
Martin Schwidefsky
committed
[S390] eliminate ipl_device from lowcore
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent 7b46848 commit da292bb

File tree

5 files changed

+2
-10
lines changed

5 files changed

+2
-10
lines changed

arch/s390/include/asm/lowcore.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
#define __LC_USER_ASCE 0xC50
8181
#define __LC_PANIC_STACK 0xC54
8282
#define __LC_CPUID 0xC60
83-
#define __LC_IPLDEV 0xC7C
8483
#define __LC_CURRENT 0xC90
8584
#define __LC_INT_CLOCK 0xC98
8685
#else /* __s390x__ */
@@ -101,7 +100,6 @@
101100
#define __LC_USER_ASCE 0xD60
102101
#define __LC_PANIC_STACK 0xD68
103102
#define __LC_CPUID 0xD80
104-
#define __LC_IPLDEV 0xDB8
105103
#define __LC_CURRENT 0xDD8
106104
#define __LC_INT_CLOCK 0xDE8
107105
#define __LC_VDSO_PER_CPU 0xE38
@@ -273,8 +271,7 @@ struct _lowcore
273271
/* entry.S sensitive area start */
274272
cpuid_t cpu_id; /* 0xc60 */
275273
__u32 cpu_nr; /* 0xc68 */
276-
__u32 ipl_device; /* 0xc6c */
277-
__u8 pad_0xc70[0xc80-0xc70]; /* 0xc70 */
274+
__u8 pad_0xc6c[0xc80-0xc6c]; /* 0xc6c */
278275
/* entry.S sensitive area end */
279276

280277
/* SMP info area: defined by DJB */
@@ -368,8 +365,7 @@ struct _lowcore
368365
/* entry.S sensitive area start */
369366
cpuid_t cpu_id; /* 0xd80 */
370367
__u32 cpu_nr; /* 0xd88 */
371-
__u32 ipl_device; /* 0xd8c */
372-
__u8 pad_0xd90[0xdc0-0xd90]; /* 0xd90 */
368+
__u8 pad_0xd8c[0xdc0-0xd8c]; /* 0xd8c */
373369
/* entry.S sensitive area end */
374370

375371
/* SMP info area: defined by DJB */

arch/s390/kernel/head31.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ startup_continue:
2020
lctl %c0,%c15,.Lctl-.LPG1(%r13) # load control registers
2121
l %r12,.Lparmaddr-.LPG1(%r13) # pointer to parameter area
2222
# move IPL device to lowcore
23-
mvc __LC_IPLDEV(4),IPL_DEVICE-PARMAREA(%r12)
2423
#
2524
# Setup stack
2625
#

arch/s390/kernel/head64.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ startup_continue:
8686
lctlg %c0,%c15,.Lctl-.LPG1(%r13) # load control registers
8787
lg %r12,.Lparmaddr-.LPG1(%r13) # pointer to parameter area
8888
# move IPL device to lowcore
89-
mvc __LC_IPLDEV(4),IPL_DEVICE+4-PARMAREA(%r12)
9089
lghi %r0,__LC_PASTE
9190
stg %r0,__LC_VDSO_PER_CPU
9291
#

arch/s390/kernel/setup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,6 @@ setup_lowcore(void)
419419
PSW_ADDR_AMODE | (unsigned long) mcck_int_handler;
420420
lc->io_new_psw.mask = psw_kernel_bits;
421421
lc->io_new_psw.addr = PSW_ADDR_AMODE | (unsigned long) io_int_handler;
422-
lc->ipl_device = S390_lowcore.ipl_device;
423422
lc->clock_comparator = -1ULL;
424423
lc->kernel_stack = ((unsigned long) &init_thread_union) + THREAD_SIZE;
425424
lc->async_stack = (unsigned long)

arch/s390/kernel/smp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,6 @@ int __cpuinit __cpu_up(unsigned int cpu)
566566
cpu_lowcore->current_task = (unsigned long) idle;
567567
cpu_lowcore->cpu_nr = cpu;
568568
cpu_lowcore->kernel_asce = S390_lowcore.kernel_asce;
569-
cpu_lowcore->ipl_device = S390_lowcore.ipl_device;
570569
eieio();
571570

572571
while (signal_processor(cpu, sigp_restart) == sigp_busy)

0 commit comments

Comments
 (0)