Skip to content

Commit 1f266fd

Browse files
hcahcaVasily Gorbik
authored andcommitted
s390/lowcore: Remove unused machine_flags
The machine_flags member in struct lowcore is not used anymore. Remove it. Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
1 parent 121df45 commit 1f266fd

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

arch/s390/include/asm/lowcore.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,7 @@ struct lowcore {
164164
__u32 spinlock_index; /* 0x03b0 */
165165
__u8 pad_0x03b4[0x03b8-0x03b4]; /* 0x03b4 */
166166
__u64 percpu_offset; /* 0x03b8 */
167-
__u8 pad_0x03c0[0x03c8-0x03c0]; /* 0x03c0 */
168-
__u64 machine_flags; /* 0x03c8 */
169-
__u8 pad_0x03d0[0x0400-0x03d0]; /* 0x03d0 */
167+
__u8 pad_0x03c0[0x0400-0x03c0]; /* 0x03c0 */
170168

171169
__u32 return_lpswe; /* 0x0400 */
172170
__u32 return_mcck_lpswe; /* 0x0404 */

arch/s390/kernel/setup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,6 @@ static void __init setup_lowcore(void)
414414
lc->clock_comparator = clock_comparator_max;
415415
lc->current_task = (unsigned long)&init_task;
416416
lc->lpp = LPP_MAGIC;
417-
lc->machine_flags = get_lowcore()->machine_flags;
418417
lc->preempt_count = get_lowcore()->preempt_count;
419418
nmi_alloc_mcesa_early(&lc->mcesad);
420419
lc->sys_enter_timer = get_lowcore()->sys_enter_timer;

arch/s390/kernel/smp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ static void pcpu_prepare_secondary(struct pcpu *pcpu, int cpu)
265265
lc->percpu_offset = __per_cpu_offset[cpu];
266266
lc->kernel_asce = get_lowcore()->kernel_asce;
267267
lc->user_asce = s390_invalid_asce;
268-
lc->machine_flags = get_lowcore()->machine_flags;
269268
lc->user_timer = lc->system_timer =
270269
lc->steal_timer = lc->avg_steal_timer = 0;
271270
abs_lc = get_abs_lowcore();

0 commit comments

Comments
 (0)