]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
s390: Remove gmap pointer from lowcore
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Tue, 22 Oct 2024 12:05:58 +0000 (14:05 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 29 Oct 2024 10:49:19 +0000 (11:49 +0100)
Remove the gmap pointer from lowcore, since it is not used anymore.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://lore.kernel.org/r/20241022120601.167009-9-imbrenda@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/lowcore.h
arch/s390/kernel/asm-offsets.c

index 48c64716d1f2fdc67cf6e7e850f184327d12caa0..42a092fa102972315b6ec06ac55fb32c169665dd 100644 (file)
@@ -165,8 +165,7 @@ struct lowcore {
        __u64   percpu_offset;                  /* 0x03b8 */
        __u8    pad_0x03c0[0x03c8-0x03c0];      /* 0x03c0 */
        __u64   machine_flags;                  /* 0x03c8 */
-       __u64   gmap;                           /* 0x03d0 */
-       __u8    pad_0x03d8[0x0400-0x03d8];      /* 0x03d8 */
+       __u8    pad_0x03d0[0x0400-0x03d0];      /* 0x03d0 */
 
        __u32   return_lpswe;                   /* 0x0400 */
        __u32   return_mcck_lpswe;              /* 0x0404 */
index 3a6ee5043761488c6a166c415a4bd6d4745fc03d..1d7ed0faff8be2cebaf93ae13a0a018e282d9074 100644 (file)
@@ -137,7 +137,6 @@ int main(void)
        OFFSET(__LC_USER_ASCE, lowcore, user_asce);
        OFFSET(__LC_LPP, lowcore, lpp);
        OFFSET(__LC_CURRENT_PID, lowcore, current_pid);
-       OFFSET(__LC_GMAP, lowcore, gmap);
        OFFSET(__LC_LAST_BREAK, lowcore, last_break);
        /* software defined ABI-relevant lowcore locations 0xe00 - 0xe20 */
        OFFSET(__LC_DUMP_REIPL, lowcore, ipib);