We will use "shutdown" for encapsulating arch_shutdown + generic steps.
No functional changes.

Signed-off-by: Jan Kiszka <[email protected]>
---
 hypervisor/control.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hypervisor/control.c b/hypervisor/control.c
index 5a3dd88..6885689 100644
--- a/hypervisor/control.c
+++ b/hypervisor/control.c
@@ -663,7 +663,7 @@ static int cell_get_state(struct per_cpu *cpu_data, 
unsigned long id)
        return -ENOENT;
 }
 
-static int shutdown(struct per_cpu *cpu_data)
+static int hypervisor_disable(struct per_cpu *cpu_data)
 {
        unsigned int this_cpu = cpu_data->cpu_id;
        unsigned int cpu;
@@ -787,7 +787,7 @@ long hypercall(unsigned long code, unsigned long arg1, 
unsigned long arg2)
 
        switch (code) {
        case JAILHOUSE_HC_DISABLE:
-               return shutdown(cpu_data);
+               return hypervisor_disable(cpu_data);
        case JAILHOUSE_HC_CELL_CREATE:
                return cell_create(cpu_data, arg1);
        case JAILHOUSE_HC_CELL_START:
-- 
2.1.4

-- 
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