aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/sysctl.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-10-07 07:50:20 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-10-07 07:50:20 +0100
commitaf78c0b35d00dac353936ad6f8afc7f01f91c6d2 (patch)
treeecc92aaab03a47ed5433e94f233de4413f684c46 /xen/common/sysctl.c
parent636eaa12d90b7151f454ec45dd47679292ece9ab (diff)
downloadxen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.tar.gz
xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.tar.bz2
xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.zip
Scattered code arrangement cleanups.
- remove redundant declarations - add/move prototypes to headers - move things where they belong to Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'xen/common/sysctl.c')
-rw-r--r--xen/common/sysctl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xen/common/sysctl.c b/xen/common/sysctl.c
index fe254bbbbd..4723de8dc1 100644
--- a/xen/common/sysctl.c
+++ b/xen/common/sysctl.c
@@ -20,13 +20,12 @@
#include <xen/guest_access.h>
#include <xen/keyhandler.h>
#include <asm/current.h>
+#include <xen/hypercall.h>
#include <public/sysctl.h>
#include <asm/numa.h>
#include <xen/nodemask.h>
#include <xsm/xsm.h>
-
-extern int do_get_pm_info(struct xen_sysctl_get_pmstat *op);
-extern int do_pm_op(struct xen_sysctl_pm_op *op);
+#include <xen/pmstat.h>
extern long arch_do_sysctl(
struct xen_sysctl *op, XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl);