[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] pv-on-hvm: Fix unplug logic



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1266833140 0
# Node ID 628600e0e3b426a02602600645b2a74c9a1b4c6e
# Parent  845da68515d80d2b5969f6d46cfc5c5b6d7097af
pv-on-hvm: Fix unplug logic

Add the missing part for the dev_unplug parameter in r20847

Signed-off-by: Zhai Edwin <edwin.zhai@xxxxxxxxx>
---
 unmodified_drivers/linux-2.6/platform-pci/platform-pci.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 845da68515d8 -r 628600e0e3b4 
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c  Mon Feb 22 
10:04:22 2010 +0000
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c  Mon Feb 22 
10:05:40 2010 +0000
@@ -332,7 +332,7 @@ static int check_platform_magic(struct d
                }
                /* Fall through */
        case 0:
-               outw(0xf, XEN_IOPORT_UNPLUG);
+               outw(unplug, XEN_IOPORT_UNPLUG);
                break;
        default:
                err = "unknown I/O protocol version";

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.