diff mbox series

[v1,50/57] xen/riscv: add minimal stuff to asm/smp.h to build full Xen

Message ID 5df4e523937312bd6240acf0be9ad29273545fc6.1692181079.git.oleksii.kurochko@gmail.com (mailing list archive)
State New, archived
Headers show
Series Enable build of full Xen for RISC-V | expand

Commit Message

Oleksii Kurochko Aug. 16, 2023, 10:20 a.m. UTC
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
---
 xen/arch/riscv/include/asm/smp.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/xen/arch/riscv/include/asm/smp.h b/xen/arch/riscv/include/asm/smp.h
index cc8dd18254..a7b4f94ce4 100644
--- a/xen/arch/riscv/include/asm/smp.h
+++ b/xen/arch/riscv/include/asm/smp.h
@@ -17,4 +17,7 @@  DECLARE_PER_CPU(cpumask_var_t, cpu_core_mask);
  */
 #define park_offline_cpus false
 
+/* TODO: need to be implemeted */
+#define smp_processor_id() (0)
+
 #endif
\ No newline at end of file