Jan Beulich
2008-Nov-19 09:06 UTC
[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@novell.com>
--- 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@lists.xensource.com
http://lists.xensource.com/xen-devel