summaryrefslogtreecommitdiffstats
path: root/sys/xen/evtchn
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2009-07-21 16:54:11 +0000
committeralc <alc@FreeBSD.org>2009-07-21 16:54:11 +0000
commit659a9be16ec80fc252ae9c9cba9ac9ecf7dbcce2 (patch)
tree48fc4d10ab5d7401666884b455b5579bb75c28e4 /sys/xen/evtchn
parent681dc8671b95f2964bc521648c150df9254f9e41 (diff)
downloadFreeBSD-src-659a9be16ec80fc252ae9c9cba9ac9ecf7dbcce2.zip
FreeBSD-src-659a9be16ec80fc252ae9c9cba9ac9ecf7dbcce2.tar.gz
Catch up with r195249, "Improve the handling of cpuset with interrupts."
Specifically, update the return type of xenpic_assign_cpu() so that this file compiles again. Approved by: re (kib)
Diffstat (limited to 'sys/xen/evtchn')
-rw-r--r--sys/xen/evtchn/evtchn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/xen/evtchn/evtchn.c b/sys/xen/evtchn/evtchn.c
index b175b4a..f280d12 100644
--- a/sys/xen/evtchn/evtchn.c
+++ b/sys/xen/evtchn/evtchn.c
@@ -626,7 +626,7 @@ static int xenpic_vector(struct intsrc *isrc);
static int xenpic_source_pending(struct intsrc *isrc);
static void xenpic_suspend(struct pic* pic);
static void xenpic_resume(struct pic* pic);
-static void xenpic_assign_cpu(struct intsrc *, u_int apic_id);
+static int xenpic_assign_cpu(struct intsrc *, u_int apic_id);
struct pic xenpic_dynirq_template = {
@@ -752,10 +752,11 @@ xenpic_resume(struct pic* pic)
TODO;
}
-static void
+static int
xenpic_assign_cpu(struct intsrc *isrc, u_int apic_id)
{
TODO;
+ return (EOPNOTSUPP);
}
void
OpenPOWER on IntegriCloud