|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix ioapic_rte_to_remap_entry() on IA64.
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1224579214 -3600
# Node ID dacc54242a6361418139ceb336d8741b51d7872b
# Parent 353f2359230aa7baef21a4adff4277a20275940f
Fix ioapic_rte_to_remap_entry() on IA64.
Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
---
xen/drivers/passthrough/vtd/intremap.c | 6 ++++++
1 files changed, 6 insertions(+)
diff -r 353f2359230a -r dacc54242a63 xen/drivers/passthrough/vtd/intremap.c
--- a/xen/drivers/passthrough/vtd/intremap.c Tue Oct 21 09:49:19 2008 +0100
+++ b/xen/drivers/passthrough/vtd/intremap.c Tue Oct 21 09:53:34 2008 +0100
@@ -129,7 +129,13 @@ static int ioapic_rte_to_remap_entry(str
memcpy(&new_ire, iremap_entry, sizeof(struct iremap_entry));
if ( rte_upper )
+ {
+#if defined(__i386__) || defined(__x86_64__)
new_ire.lo.dst = (value >> 24) << 8;
+#else /* __ia64__ */
+ new_ire.lo.dst = value >> 16;
+#endif
+ }
else
{
*(((u32 *)&new_rte) + 0) = value;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix ioapic_rte_to_remap_entry() on IA64.,
Xen patchbot-unstable <=
|
|
|
|
|