]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commitdiff
xen: add support in public/hvm/save.h for PPC and RISC-V
authorOleksii Kurochko <oleksii.kurochko@gmail.com>
Mon, 5 Feb 2024 15:32:10 +0000 (16:32 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 13 Feb 2024 08:29:31 +0000 (09:29 +0100)
No specific header is needed to include in public/hvm/save.h for
PPC and RISC-V for now.

Code related to PPC was changed based on the comment:
https://lore.kernel.org/xen-devel/c2f3280e-2208-496b-a0b5-fda1a2076b3a@raptorengineering.com/

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/public/hvm/save.h

index ff0048e5f83d4f127d2b4e977520da81f03229ac..31b5cd163bd9dc37a1e87dd05a9519846ae92597 100644 (file)
@@ -89,8 +89,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(__powerpc64__)
-#include "../arch-ppc.h"
+#elif defined(__powerpc64__) || defined(__riscv)
+/* no specific header to include */
 #else
 #error "unsupported architecture"
 #endif