mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: Make use of __packed macro
Make use of the pre-defined __packed macro throughout zipl. This requires adding the global include dir to ALL_CFLAGS. Signed-off-by: Philipp Rudo <prudo@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
121d5d8013
commit
0f7ed7d4fc
@@ -12,6 +12,8 @@
|
||||
#ifndef BOOTMAP_H
|
||||
#define BOOTMAP_H
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
|
||||
#include "disk.h"
|
||||
#include "job.h"
|
||||
#include "zipl.h"
|
||||
@@ -23,7 +25,7 @@ struct signature_header {
|
||||
uint8_t format;
|
||||
uint8_t reserved[3];
|
||||
uint32_t length;
|
||||
} __attribute((packed));
|
||||
} __packed;
|
||||
|
||||
typedef union {
|
||||
uint64_t load_address;
|
||||
|
||||
Reference in New Issue
Block a user