WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 1/3] xen: make pci notifier work with booting devices

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 1/3] xen: make pci notifier work with booting devices
From: Qing He <qing.he@xxxxxxxxx>
Date: Tue, 18 Aug 2009 13:45:12 +0800
Cc: jeremy@xxxxxxxx, yunhong.jiang@xxxxxxxxx, Qing He <qing.he@xxxxxxxxx>
Delivery-date: Mon, 17 Aug 2009 22:41:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1250574314-19600-1-git-send-email-qing.he@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <> <1250574314-19600-1-git-send-email-qing.he@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
change fs_initcall to arch_initcall so that pci notifier
would handle booting pci devices

Signed-off-by: Qing He <qing.he@xxxxxxxxx>

---
 drivers/xen/pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/xen/pci.c b/drivers/xen/pci.c
index b13e054..5156278 100644
--- a/drivers/xen/pci.c
+++ b/drivers/xen/pci.c
@@ -113,4 +113,4 @@ static int __init register_xen_pci_notifier(void)
        return bus_register_notifier(&pci_bus_type, &device_nb);
 }
 
-fs_initcall(register_xen_pci_notifier);
+arch_initcall(register_xen_pci_notifier);
-- 
1.6.0


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