Author: ruik
Date: 2009-04-13 20:44:06 +0200 (Mon, 13 Apr 2009)
New Revision: 4104

Modified:
   trunk/coreboot-v2/src/boot/hardwaremain.c
Log:
The wake_vec must be HAVE_ACPI_RESUME guarded because PPC uses -Werror on this 
file.

Signed-off-by: Rudolf Marek <[email protected]>
Self ack, trivial fix:
Acked-by: Rudolf Marek <[email protected]>


Modified: trunk/coreboot-v2/src/boot/hardwaremain.c
===================================================================
--- trunk/coreboot-v2/src/boot/hardwaremain.c   2009-04-13 18:37:17 UTC (rev 
4103)
+++ trunk/coreboot-v2/src/boot/hardwaremain.c   2009-04-13 18:44:06 UTC (rev 
4104)
@@ -52,7 +52,9 @@
 void hardwaremain(int boot_complete)
 {
        struct lb_memory *lb_mem;
+#if HAVE_ACPI_RESUME == 1
        void *wake_vec;
+#endif
 
        post_code(0x80);
 


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to