summaryrefslogtreecommitdiff
path: root/src/boot/hardwaremain.c
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2009-04-13 18:44:06 +0000
committerRudolf Marek <r.marek@assembler.cz>2009-04-13 18:44:06 +0000
commit0fb21c4af989ca8fd813163a8cb7b3218166d1a9 (patch)
treed6f9faa5bc70c28db3456f19757ddb0d2e51f7e3 /src/boot/hardwaremain.c
parent6bb6e03912c74ad9991c524de7fe7a5ff22aec32 (diff)
downloadcoreboot-0fb21c4af989ca8fd813163a8cb7b3218166d1a9.tar.xz
The wake_vec must be HAVE_ACPI_RESUME guarded because PPC uses -Werror on this file.
Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Self ack, trivial fix: Acked-by: Rudolf Marek <r.marek@assembler.cz> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4104 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/boot/hardwaremain.c')
-rw-r--r--src/boot/hardwaremain.c2
1 files changed, 2 insertions, 0 deletions
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);