Skip to contentSkip to conversation

linux/x86: remove broken HYPERVISOR_acm_op()

PATCH New Jan Beulich 1 participant 1 message Nov 19, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

include/asm-i386/mach-xen/asm/hypercall.h +0 -7
@@ -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)
include/asm-x86_64/mach-xen/asm/hypercall.h +0 -7
@@ -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)