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
This commit is contained in:
Rudolf Marek 2009-04-13 18:44:06 +00:00
parent 6bb6e03912
commit 0fb21c4af9
1 changed files with 2 additions and 0 deletions

View File

@ -52,7 +52,9 @@ it with the version available from LANL.
void hardwaremain(int boot_complete) void hardwaremain(int boot_complete)
{ {
struct lb_memory *lb_mem; struct lb_memory *lb_mem;
#if HAVE_ACPI_RESUME == 1
void *wake_vec; void *wake_vec;
#endif
post_code(0x80); post_code(0x80);