From 9e367360e327448b5101c02e38a8caee68c4fb70 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 21 Jul 2009 16:54:11 +0000 Subject: [PATCH] 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(-) diff --git a/sys/xen/evtchn/evtchn.c b/sys/xen/evtchn/evtchn.c index b175b4a8c1be..f280d1270319 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