zipl: Align struct lowcore to double page size

With GCC8 the following warning is displayed:

In file included from cio.h:15,
                 from stage2.h:15,
                 from menu.h:15,
                 from stage2.c:14:
s390.h:193:1: warning: alignment 1 of ‘struct _lowcore’ is less than 8
[-Wpacked-not-aligned]
 } __packed;
 ^

Fix by aligning struct _lowcore to double page size.

Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Jan Höppner
2018-09-13 17:33:47 +02:00
parent 81f9a67d6f
commit 03b2bf028b

View File

@@ -190,7 +190,7 @@ struct _lowcore {
/* align to the top of the prefix area */
uint8_t pad_0x1900[0x2000-0x1900]; /* 0x1900 */
} __packed;
} __packed __aligned(8192);
#define S390_lowcore (*((struct _lowcore *) 0))