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)
|
void bsp_start(void)
|
||||||
{
|
{
|
||||||
#ifdef BSP_MULTIBOOT_SUPPORT
|
#ifdef BSP_MULTIBOOT_SUPPORT
|
||||||
process_multiboot2_info();
|
process_multiboot2_info();
|
||||||
if (!uefi_bootservices_running()) {
|
if (!uefi_bootservices_running()) {
|
||||||
#endif
|
#endif
|
||||||
paging_init();
|
paging_init();
|
||||||
bool acpi_table_result = acpi_tables_initialize();
|
bool acpi_table_result = acpi_tables_initialize();
|
||||||
_Assert(acpi_table_result);
|
_Assert(acpi_table_result);
|
||||||
bsp_interrupt_initialize();
|
(void) acpi_table_result;
|
||||||
|
bsp_interrupt_initialize();
|
||||||
#ifdef BSP_MULTIBOOT_SUPPORT
|
#ifdef BSP_MULTIBOOT_SUPPORT
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user