From 659a9be16ec80fc252ae9c9cba9ac9ecf7dbcce2 Mon Sep 17 00:00:00 2001 From: alc Date: Tue, 21 Jul 2009 16:54:11 +0000 Subject: 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) --- sys/xen/evtchn/evtchn.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/xen/evtchn') 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 -- cgit v1.1