[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-next 5/6] xen: Add files needed for minimal riscv build

On 3/12/21 10:09 AM, Jan Beulich wrote:
On 25.02.2021 16:24, Connor Davis wrote:
--- a/xen/include/public/hvm/save.h
+++ b/xen/include/public/hvm/save.h
@@ -106,6 +106,8 @@ DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end);
  #include "../arch-x86/hvm/save.h"
  #elif defined(__arm__) || defined(__aarch64__)
  #include "../arch-arm/hvm/save.h"
+#elif defined(__riscv)
+#include "../arch-riscv/hvm/save.h"
Does the compiler not also provide __riscv__? If it does, using it
here (and elsewhere) would fit better with the existing logic.

No only __riscv is defined





Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.