From: "Kasai Takanori" Subject: [PATCH] [PV-ON-HVM] Fix evtchn interface Date: Wed, 10 Jan 2007 11:34:50 +0900 Message-ID: <0fe601c7345f$f641e6c0$dab2220a@VF03007L> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0FE3_01C734AB.578F2780" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. ------=_NextPart_000_0FE3_01C734AB.578F2780 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit Hi All, The interface of the evtchn has been changed as follows. ・xen-unstable.hg : cs13198 [PV-ON-HVM] Update evtchn interface to match new PV Linux interfaces. ・xen-unstable.hg : cs13197 [LINUX] Extend the event-channel interfaces to provide helper methods However, the following errors occur if pv-on-hvm is done in insmod. This patch corrected this issue. --- # insmod xen-vbd.ko xen-vbd: Unknown symbol irq_to_evtchn_port insmod: error inserting 'xen-vbd.ko': -1 Unknown symbol in module --- Thanks, -- Takanori Kasai ------=_NextPart_000_0FE3_01C734AB.578F2780 Content-Type: application/octet-stream; name="irq_to_evtchn_port.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="irq_to_evtchn_port.patch" # HG changeset patch=0A= # User kasai.takanori@jp.fujitsu.com=0A= # Date 1168393185 -32400=0A= # Node ID d11d2e7de483ee636c6cb83a14b06b5564069658=0A= # Parent 9865145e53eb02ddc2e2792f80bb7d54bc754a65=0A= Fix evtchn interface=0A= =0A= Signed-off-by: Takanori Kasai =0A= Signed-off-by: Tsunehisa Doi =0A= =0A= diff -r 9865145e53eb -r d11d2e7de483 = unmodified_drivers/linux-2.6/platform-pci/evtchn.c=0A= --- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c Fri Jan 05 = 18:17:36 2007 +0000=0A= +++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c Wed Jan 10 = 10:39:45 2007 +0900=0A= @@ -158,6 +158,12 @@ void notify_remote_via_irq(int irq)=0A= notify_remote_via_evtchn(evtchn);=0A= }=0A= EXPORT_SYMBOL(notify_remote_via_irq);=0A= +=0A= +int irq_to_evtchn_port(int irq)=0A= +{=0A= + return irq;=0A= +}=0A= +EXPORT_SYMBOL_GPL(irq_to_evtchn_port);=0A= =0A= irqreturn_t evtchn_interrupt(int irq, void *dev_id, struct pt_regs = *regs)=0A= {=0A= ------=_NextPart_000_0FE3_01C734AB.578F2780 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ------=_NextPart_000_0FE3_01C734AB.578F2780--