aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/physdev.c
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@citrix.com>2011-05-26 12:37:47 +0100
committerTim Deegan <Tim.Deegan@citrix.com>2011-05-26 12:37:47 +0100
commit093e1d2484fc46ec73e527c03af79664218045df (patch)
tree4ac0109f7f6d91c8c24a62bfdd20dc44e5370e9d /xen/arch/x86/physdev.c
parentde4bf084c8dc232a629e436ccd0ce989da8c470e (diff)
downloadxen-093e1d2484fc46ec73e527c03af79664218045df.tar.gz
xen-093e1d2484fc46ec73e527c03af79664218045df.tar.bz2
xen-093e1d2484fc46ec73e527c03af79664218045df.zip
xen: remove extern function declarations from C files.
Move all extern declarations into appropriate header files. This also fixes up a few places where the caller and the definition had different signatures. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'xen/arch/x86/physdev.c')
-rw-r--r--xen/arch/x86/physdev.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/xen/arch/x86/physdev.c b/xen/arch/x86/physdev.c
index e15dd0a95d..4f188546fd 100644
--- a/xen/arch/x86/physdev.c
+++ b/xen/arch/x86/physdev.c
@@ -9,6 +9,7 @@
#include <xen/guest_access.h>
#include <xen/iocap.h>
#include <asm/current.h>
+#include <asm/io_apic.h>
#include <asm/msi.h>
#include <asm/hypercall.h>
#include <public/xen.h>
@@ -20,13 +21,6 @@
typedef long ret_t;
#endif
-int
-ioapic_guest_read(
- unsigned long physbase, unsigned int reg, u32 *pval);
-int
-ioapic_guest_write(
- unsigned long physbase, unsigned int reg, u32 pval);
-
static int physdev_hvm_map_pirq(
struct domain *d, struct physdev_map_pirq *map)
{