From: "Jan Beulich" Subject: [PATCH] linux/x86: remove broken HYPERVISOR_acm_op() Date: Wed, 19 Nov 2008 09:06:50 +0000 Message-ID: <4923E53A.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 --- a/include/asm-i386/mach-xen/asm/hypercall.h +++ b/include/asm-i386/mach-xen/asm/hypercall.h @@ -279,13 +279,6 @@ return rc; } =20 -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; } =20 -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)