diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-24 16:33:19 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-24 16:33:19 +0000 |
commit | 46c01e0595e4292bb00d094f8526739a89480c84 (patch) | |
tree | afde510f6359e31bdec8b6758e1c7669d02eb2ef /xen/arch/x86/sysctl.c | |
parent | 16324b1affd81722aa3317eec67804329f943a2d (diff) | |
download | xen-46c01e0595e4292bb00d094f8526739a89480c84.tar.gz xen-46c01e0595e4292bb00d094f8526739a89480c84.tar.bz2 xen-46c01e0595e4292bb00d094f8526739a89480c84.zip |
Make domctl/sysctl interfaces 32-/64-bit invariant.
This kills off a fair amount of unpleasant CONFIG_COMPAT shimming and
avoids needing to keep the compat paths in sync as these interfaces
continue to develop.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/sysctl.c')
-rw-r--r-- | xen/arch/x86/sysctl.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xen/arch/x86/sysctl.c b/xen/arch/x86/sysctl.c index be96055290..0f265825bd 100644 --- a/xen/arch/x86/sysctl.c +++ b/xen/arch/x86/sysctl.c @@ -25,14 +25,10 @@ #include <asm/hvm/support.h> #include <asm/processor.h> -#ifndef COMPAT -typedef long ret_t; -#endif - -ret_t arch_do_sysctl( +long arch_do_sysctl( struct xen_sysctl *sysctl, XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl) { - ret_t ret = 0; + long ret = 0; switch ( sysctl->cmd ) { |