[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] linux/x86: remove broken HYPERVISOR_acm_op()



That hypercall apparently never really worked (it's being passed two
arguments, but the hypercall entry point code only loaded one, while
do_acm_op() again consumed two), appears to be pointless in the kernel
anyway, and there's been no __HYPERVISOR_acm_op for quite a while.

As usual, written and tested on 2.6.27.6 and made apply to the 2.6.18
tree without further testing.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- a/include/asm-i386/mach-xen/asm/hypercall.h
+++ b/include/asm-i386/mach-xen/asm/hypercall.h
@@ -279,13 +279,6 @@
        return rc;
 }
 
-static inline int __must_check
-HYPERVISOR_acm_op(
-       int cmd, void *arg)
-{
-       return _hypercall2(int, acm_op, cmd, arg);
-}
-
 static inline int __must_check
 HYPERVISOR_xen_version(
        int cmd, void *arg)
--- a/include/asm-x86_64/mach-xen/asm/hypercall.h
+++ b/include/asm-x86_64/mach-xen/asm/hypercall.h
@@ -277,13 +277,6 @@
        return rc;
 }
 
-static inline int __must_check
-HYPERVISOR_acm_op(
-       int cmd, void *arg)
-{
-       return _hypercall2(int, acm_op, cmd, arg);
-}
-
 static inline int __must_check
 HYPERVISOR_xen_version(
        int cmd, void *arg)




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.