From 0fb21c4af989ca8fd813163a8cb7b3218166d1a9 Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Mon, 13 Apr 2009 18:44:06 +0000 Subject: [PATCH] The wake_vec must be HAVE_ACPI_RESUME guarded because PPC uses -Werror on this file. Signed-off-by: Rudolf Marek Self ack, trivial fix: Acked-by: Rudolf Marek git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4104 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/boot/hardwaremain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c index 9a3adf7c5d..6545183f5f 100644 --- a/src/boot/hardwaremain.c +++ b/src/boot/hardwaremain.c @@ -52,7 +52,9 @@ it with the version available from LANL. void hardwaremain(int boot_complete) { struct lb_memory *lb_mem; +#if HAVE_ACPI_RESUME == 1 void *wake_vec; +#endif post_code(0x80);