grub2/0199-grub-core-fs-iso9660.c-add_part-Remove-always_inline.patch
Peter Jones f74b50e380 Rebase to upstream, fix a pile of bugs. The usual.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-06-12 15:37:08 -04:00

41 lines
1.1 KiB
Diff

From 45025027ddbcf13fb5a5ee3a42f5318219f78fb4 Mon Sep 17 00:00:00 2001
From: Andrey Borzenkov <arvidjaar@gmail.com>
Date: Thu, 7 Mar 2013 09:11:36 +0100
Subject: [PATCH 199/482] * grub-core/fs/iso9660.c (add_part): Remove
always_inline attribute causing gcc error with gcc 4.7.1.
---
ChangeLog | 5 +++++
grub-core/fs/iso9660.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 5fb9b77..3b4b3b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-07 Andrey Borzenkov <arvidjaar@gmail.com>
+
+ * grub-core/fs/iso9660.c (add_part): Remove always_inline attribute
+ causing gcc error with gcc 4.7.1.
+
2013-03-07 Nickolai Zeldovich <nickolai@csail.mit.edu>
* grub-core/commands/acpi.c (grub_acpi_create_ebda): Don't
diff --git a/grub-core/fs/iso9660.c b/grub-core/fs/iso9660.c
index 01a07b8..cdbd6dc 100644
--- a/grub-core/fs/iso9660.c
+++ b/grub-core/fs/iso9660.c
@@ -524,7 +524,7 @@ struct iterate_dir_ctx
};
/* Extend the symlink. */
-static void __attribute__ ((always_inline))
+static void
add_part (struct iterate_dir_ctx *ctx,
const char *part,
int len2)
--
1.8.2.1