From: Nadav Har'El <[email protected]>
Committer: Nadav Har'El <[email protected]>
Branch: master

loader: fix aarch64 compilation

A recent addition for firecracker support breaks the aarch64 compilation,
so ifdef the offending part out in the aarch64 build.

Signed-off-by: Nadav Har'El <[email protected]>

---
diff --git a/loader.cc b/loader.cc
--- a/loader.cc
+++ b/loader.cc
@@ -433,10 +433,12 @@ void* do_main_thread(void *_main_args)
     }

     boot_time.event("Total time");
+#ifndef AARCH64_PORT_STUB
     // Some hypervisors like firecracker when booting OSv
     // look for this write to this port as a signal of end of
     // boot time.
     processor::outb(123, 0x3f0);
+#endif /* !AARCH64_PORT_STUB */

     if (opt_bootchart) {
         boot_time.print_chart();

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to