]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
s390/lowcore: Remove unused machine_flags
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 20 Mar 2025 13:49:09 +0000 (14:49 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 31 Mar 2025 10:20:39 +0000 (12:20 +0200)
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>
arch/s390/include/asm/lowcore.h
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c

index 1a31f1f93ed3cd0f8e8a3257f4e962e07ff218f5..e99e9c87b1ce9d8077cf95c81b5834092240b2ed 100644 (file)
@@ -164,9 +164,7 @@ struct lowcore {
        __u32   spinlock_index;                 /* 0x03b0 */
        __u8    pad_0x03b4[0x03b8-0x03b4];      /* 0x03b4 */
        __u64   percpu_offset;                  /* 0x03b8 */
-       __u8    pad_0x03c0[0x03c8-0x03c0];      /* 0x03c0 */
-       __u64   machine_flags;                  /* 0x03c8 */
-       __u8    pad_0x03d0[0x0400-0x03d0];      /* 0x03d0 */
+       __u8    pad_0x03c0[0x0400-0x03c0];      /* 0x03c0 */
 
        __u32   return_lpswe;                   /* 0x0400 */
        __u32   return_mcck_lpswe;              /* 0x0404 */
index b6686d63b75414f783efbfdaa05fd6fbae7f16e1..f244c5560e7f62d02a36b5b46382e6005c464424 100644 (file)
@@ -414,7 +414,6 @@ static void __init setup_lowcore(void)
        lc->clock_comparator = clock_comparator_max;
        lc->current_task = (unsigned long)&init_task;
        lc->lpp = LPP_MAGIC;
-       lc->machine_flags = get_lowcore()->machine_flags;
        lc->preempt_count = get_lowcore()->preempt_count;
        nmi_alloc_mcesa_early(&lc->mcesad);
        lc->sys_enter_timer = get_lowcore()->sys_enter_timer;
index f2f05c5277f41f75781b452bcec1686788258173..f9908a41bfe8003a1baf6c29a77b4e583d6c45fe 100644 (file)
@@ -265,7 +265,6 @@ static void pcpu_prepare_secondary(struct pcpu *pcpu, int cpu)
        lc->percpu_offset = __per_cpu_offset[cpu];
        lc->kernel_asce = get_lowcore()->kernel_asce;
        lc->user_asce = s390_invalid_asce;
-       lc->machine_flags = get_lowcore()->machine_flags;
        lc->user_timer = lc->system_timer =
                lc->steal_timer = lc->avg_steal_timer = 0;
        abs_lc = get_abs_lowcore();