15a207
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
15a207
From: Peter Jones <pjones@redhat.com>
15a207
Date: Thu, 10 May 2018 13:40:19 -0400
15a207
Subject: [PATCH] Fixup for newer compiler
15a207
15a207
---
15a207
 grub-core/fs/btrfs.c         | 2 +-
15a207
 include/grub/gpt_partition.h | 2 +-
15a207
 2 files changed, 2 insertions(+), 2 deletions(-)
15a207
15a207
diff --git a/grub-core/fs/btrfs.c b/grub-core/fs/btrfs.c
15a207
index 7002ad81b7e..dac73b2fa8b 100644
15a207
--- a/grub-core/fs/btrfs.c
15a207
+++ b/grub-core/fs/btrfs.c
15a207
@@ -198,7 +198,7 @@ struct grub_btrfs_inode
15a207
   grub_uint64_t size;
15a207
   grub_uint8_t dummy2[0x70];
15a207
   struct grub_btrfs_time mtime;
15a207
-} GRUB_PACKED;
15a207
+} GRUB_PACKED  __attribute__ ((aligned(8)));
15a207
 
15a207
 struct grub_btrfs_extent_data
15a207
 {
15a207
diff --git a/include/grub/gpt_partition.h b/include/grub/gpt_partition.h
15a207
index 7a93f43291c..8212697bf6b 100644
15a207
--- a/include/grub/gpt_partition.h
15a207
+++ b/include/grub/gpt_partition.h
15a207
@@ -76,7 +76,7 @@ struct grub_gpt_partentry
15a207
   grub_uint64_t end;
15a207
   grub_uint64_t attrib;
15a207
   char name[72];
15a207
-} GRUB_PACKED;
15a207
+} GRUB_PACKED  __attribute__ ((aligned(8)));
15a207
 
15a207
 grub_err_t
15a207
 grub_gpt_partition_map_iterate (grub_disk_t disk,