From: Jan Kiszka <[email protected]>

It's now identical for both archs.

Signed-off-by: Jan Kiszka <[email protected]>
---
 hypervisor/arch/arm-common/control.c | 5 +++++
 hypervisor/arch/arm/control.c        | 5 -----
 hypervisor/arch/arm64/control.c      | 5 -----
 3 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/hypervisor/arch/arm-common/control.c 
b/hypervisor/arch/arm-common/control.c
index 643c35e92..bdb61201c 100644
--- a/hypervisor/arch/arm-common/control.c
+++ b/hypervisor/arch/arm-common/control.c
@@ -193,6 +193,11 @@ bool arch_handle_phys_irq(struct per_cpu *cpu_data, u32 
irqn,
        return false;
 }
 
+int arch_cell_create(struct cell *cell)
+{
+       return arm_paging_cell_init(cell);
+}
+
 void arch_cell_reset(struct cell *cell)
 {
        unsigned int first = first_cpu(cell->cpu_set);
diff --git a/hypervisor/arch/arm/control.c b/hypervisor/arch/arm/control.c
index 056ea420a..505c3b663 100644
--- a/hypervisor/arch/arm/control.c
+++ b/hypervisor/arch/arm/control.c
@@ -170,11 +170,6 @@ struct registers* arch_handle_exit(struct per_cpu 
*cpu_data,
        return regs;
 }
 
-int arch_cell_create(struct cell *cell)
-{
-       return arm_paging_cell_init(cell);
-}
-
 void arch_cell_destroy(struct cell *cell)
 {
        unsigned int cpu;
diff --git a/hypervisor/arch/arm64/control.c b/hypervisor/arch/arm64/control.c
index 2f8926a77..7e4036aef 100644
--- a/hypervisor/arch/arm64/control.c
+++ b/hypervisor/arch/arm64/control.c
@@ -88,11 +88,6 @@ void arch_panic_park(void)
 }
 #endif
 
-int arch_cell_create(struct cell *cell)
-{
-       return arm_paging_cell_init(cell);
-}
-
 void arch_cell_destroy(struct cell *cell)
 {
        unsigned int cpu;
-- 
2.13.6

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" 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