grub2/0199-grub-core-fs-iso9660.c-add_part-Remove-always_inline.patch

41 lines
1.1 KiB
Diff
Raw Normal View History

2013-06-07 18:03:56 +00:00
From 45025027ddbcf13fb5a5ee3a42f5318219f78fb4 Mon Sep 17 00:00:00 2001
From: Andrey Borzenkov <arvidjaar@gmail.com>
Date: Thu, 7 Mar 2013 09:11:36 +0100
2013-06-07 18:03:56 +00:00
Subject: [PATCH 199/471] * 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)
--
2013-06-07 18:03:56 +00:00
1.8.2.1