8c6b1ac71e
Also include some minor fixes for gcc 5.1.1 Signed-off-by: Peter Jones <pjones@redhat.com>
34 lines
901 B
Diff
34 lines
901 B
Diff
From e1d4520bfb63aa669fc197f44623f6c9228f7757 Mon Sep 17 00:00:00 2001
|
|
From: Vladimir Serbinenko <phcoder@gmail.com>
|
|
Date: Sun, 22 Feb 2015 14:42:43 +0100
|
|
Subject: [PATCH 325/506] acpi: Fix unused function warning.
|
|
|
|
---
|
|
grub-core/commands/acpi.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/grub-core/commands/acpi.c b/grub-core/commands/acpi.c
|
|
index 5507ffa..05a6dca 100644
|
|
--- a/grub-core/commands/acpi.c
|
|
+++ b/grub-core/commands/acpi.c
|
|
@@ -131,6 +131,8 @@ grub_acpi_get_rsdpv1 (void)
|
|
return grub_machine_acpi_get_rsdpv1 ();
|
|
}
|
|
|
|
+#if defined (__i386__) || defined (__x86_64__)
|
|
+
|
|
static inline int
|
|
iszero (grub_uint8_t *reg, int size)
|
|
{
|
|
@@ -141,7 +143,6 @@ iszero (grub_uint8_t *reg, int size)
|
|
return 1;
|
|
}
|
|
|
|
-#if defined (__i386__) || defined (__x86_64__)
|
|
/* Context for grub_acpi_create_ebda. */
|
|
struct grub_acpi_create_ebda_ctx {
|
|
int ebda_len;
|
|
--
|
|
2.4.3
|
|
|