forked from Imagelibrary/rtems
/amd64/start/bspstart.c: Fix unused variable warning.
acpi_table_result was only used in the debug build.
This commit is contained in:
committed by
Kinsey Moore
parent
69b72bb9df
commit
2634edb790
@@ -50,13 +50,14 @@
|
||||
void bsp_start(void)
|
||||
{
|
||||
#ifdef BSP_MULTIBOOT_SUPPORT
|
||||
process_multiboot2_info();
|
||||
if (!uefi_bootservices_running()) {
|
||||
process_multiboot2_info();
|
||||
if (!uefi_bootservices_running()) {
|
||||
#endif
|
||||
paging_init();
|
||||
bool acpi_table_result = acpi_tables_initialize();
|
||||
_Assert(acpi_table_result);
|
||||
bsp_interrupt_initialize();
|
||||
paging_init();
|
||||
bool acpi_table_result = acpi_tables_initialize();
|
||||
_Assert(acpi_table_result);
|
||||
(void) acpi_table_result;
|
||||
bsp_interrupt_initialize();
|
||||
#ifdef BSP_MULTIBOOT_SUPPORT
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user