Skip to contentSkip to conversation

xen: arm: remove dummy HYPERVISOR_arch_0 hypercall

PATCH In review Ian Campbell 2 participants 3 messages Jul 22, 2013 – Jul 29, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen: arm: remove dummy HYPERVISOR_arch_0 hypercall

From: Ian Campbell <[email protected]>

---
 xen/arch/arm/traps.c | 7 -------
 1 file changed, 7 deletions(-)
xen/arch/arm/traps.c +0 -7
index bbd60aa..f2ffcb7 100644
@@ -653,12 +653,6 @@ void do_unexpected_trap(const char *msg, struct cpu_user_regs *regs)
     while(1);
 }
 
-unsigned long do_arch_0(unsigned int cmd, unsigned long long value)
-{
-        printk("do_arch_0 cmd=%x arg=%llx\n", cmd, value);
-        return 0;
-}
-
 typedef unsigned long (*arm_hypercall_fn_t)(
     unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
 
@@ -681,7 +675,6 @@ typedef struct {
 static arm_hypercall_t arm_hypercall_table[] = {
     HYPERCALL(memory_op, 2),
     HYPERCALL(domctl, 1),
-    HYPERCALL(arch_0, 2),
     HYPERCALL(sched_op, 2),
     HYPERCALL(console_io, 3),
     HYPERCALL(xen_version, 2),
Signature · 1 line
1.8.3.2
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Ian Campbell

From: Ian Campbell <[email protected]>

Quoted 31 lines
 xen/arch/arm/traps.c | 7 -------
 1 file changed, 7 deletions(-)
xen/arch/arm/traps.c +0 -7
index bbd60aa..f2ffcb7 100644
@@ -653,12 +653,6 @@ void do_unexpected_trap(const char *msg, struct cpu_user_regs *regs)
     while(1);
 }
 
-unsigned long do_arch_0(unsigned int cmd, unsigned long long value)
-{
-        printk("do_arch_0 cmd=%x arg=%llx\n", cmd, value);
-        return 0;
-}
-
 typedef unsigned long (*arm_hypercall_fn_t)(
     unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
 
@@ -681,7 +675,6 @@ typedef struct {
 static arm_hypercall_t arm_hypercall_table[] = {
     HYPERCALL(memory_op, 2),
     HYPERCALL(domctl, 1),
-    HYPERCALL(arch_0, 2),
     HYPERCALL(sched_op, 2),
     HYPERCALL(console_io, 3),
     HYPERCALL(xen_version, 2),
Signature · 1 line
1.8.3.2