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:
Philipp Rudo
2019-10-08 17:57:38 +02:00
committed by Jan Höppner
parent 121d5d8013
commit 0f7ed7d4fc
6 changed files with 37 additions and 31 deletions
+3 -1
View File
@@ -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;