From: Rudolf Marek Date: Mon, 13 Apr 2009 18:44:06 +0000 (+0000) Subject: The wake_vec must be HAVE_ACPI_RESUME guarded because PPC uses -Werror on this file. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=coreboot.git;a=commitdiff_plain;h=0fb21c4af989ca8fd813163a8cb7b3218166d1a9 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 --- diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c index 9a3adf7c5..6545183f5 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);