Panic with the acpi_error_string() text instead of printing the error and
spinning forever.
---
i386/i386at/model_dep.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
index eea3349c..66b8c3fc 100644
--- a/i386/i386at/model_dep.c
+++ b/i386/i386at/model_dep.c
@@ -166,8 +166,8 @@ void machine_init(void)
err = acpi_apic_init();
if (err) {
- printf("acpi_apic_init failed with %d\n", err);
- for (;;);
+ panic("GNU Mach: APIC initialization failed (%d: %s)",
+ err, acpi_error_string(err));
}
#endif
#if (NCPUS > 1)