From 8d2402bd48ccc9eb5afe2aaa407d61ff715cb24c Mon Sep 17 00:00:00 2001 From: Frank Pan Date: Thu, 3 Mar 2011 16:36:17 +0000 Subject: [PATCH] Fix a bug that shutdown watcher is disabled on pvops --- linux-2.6-xen/drivers/xen/platform-pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-2.6-xen/drivers/xen/platform-pci.c b/linux-2.6-xen/drivers/xen/platform-pci.c index c01b5dd..f141cfe 100644 --- a/linux-2.6-xen/drivers/xen/platform-pci.c +++ b/linux-2.6-xen/drivers/xen/platform-pci.c @@ -162,10 +162,10 @@ static int __devinit platform_pci_init(struct pci_dev *pdev, ret = gnttab_init(); if (ret) goto out; - xenbus_probe(NULL); ret = xen_setup_shutdown_event(); if (ret) goto out; + xenbus_probe(NULL); return 0; out: -- 1.7.0.4