Re: [PATCH v2 04/11] x86/xen: add system core suspend and resume callbacks

From: Julien Grall
Date: Wed Jul 22 2020 - 05:36:04 EST


Hi,

On 02/07/2020 19:22, Anchal Agarwal wrote:
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h
index 2521d6a306cd..9fa8a4082d68 100644
--- a/include/xen/xen-ops.h
+++ b/include/xen/xen-ops.h
@@ -41,6 +41,8 @@ u64 xen_steal_clock(int cpu);
int xen_setup_shutdown_event(void);
bool xen_is_xen_suspend(void);
+void xen_setup_syscore_ops(void);

The function is only implemented and used by x86. So shouldn't this be declared in an x86 header?

Cheers,

--
Julien Grall