From: Jan Kiszka <[email protected]>

This will be needed when ioapic_cell_init becomes static. No functional
changes.

Signed-off-by: Jan Kiszka <[email protected]>
---
 hypervisor/arch/x86/ioapic.c | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/hypervisor/arch/x86/ioapic.c b/hypervisor/arch/x86/ioapic.c
index 4e62db766..4a59841eb 100644
--- a/hypervisor/arch/x86/ioapic.c
+++ b/hypervisor/arch/x86/ioapic.c
@@ -192,19 +192,6 @@ static void ioapic_mask_cell_pins(struct cell_ioapic 
*ioapic,
        }
 }
 
-int ioapic_init(void)
-{
-       int err;
-
-       err = ioapic_cell_init(&root_cell);
-       if (err)
-               return err;
-
-       ioapic_prepare_handover();
-
-       return 0;
-}
-
 void ioapic_prepare_handover(void)
 {
        struct cell_ioapic *ioapic;
@@ -459,6 +446,19 @@ void ioapic_config_commit(struct cell *cell_added_removed)
                }
 }
 
+int ioapic_init(void)
+{
+       int err;
+
+       err = ioapic_cell_init(&root_cell);
+       if (err)
+               return err;
+
+       ioapic_prepare_handover();
+
+       return 0;
+}
+
 void ioapic_shutdown(void)
 {
        union ioapic_redir_entry *shadow_table;
-- 
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