diff options
Diffstat (limited to 'src/arch/x86/acpi.c')
-rw-r--r-- | src/arch/x86/acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index 5227bd2d35..f8c5b52a3d 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -1075,7 +1075,8 @@ void *acpi_find_wakeup_vector(void) /* Find RSDP. */ for (p = (char *)0xe0000; p < (char *)0xfffff; p += 16) { - if ((rsdp = valid_rsdp((acpi_rsdp_t *)p))) + rsdp = valid_rsdp((acpi_rsdp_t *)p); + if (rsdp) break; } |