From: David Woodhouse Date: Mon, 12 Oct 2009 11:51:22 +0000 (+0100) Subject: Run pci_apply_final_quirks() sooner. X-Git-Tag: v2.6.32-rc5~34^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf6f3bf7e587a00217d7509b440f694711c76b2e;p=pandora-kernel.git Run pci_apply_final_quirks() sooner. Having this as a device_initcall() means that some real device drivers can actually initialise _before_ the quirks are run, which is wrong. We want it to run _before_ device_initcall(), but _after_ fs_initcall(), since some arch-specific PCI initialisation like pcibios_assign_resources() is done at fs_initcall(). We could use rootfs_initcall() but I actually want to use that for the IOMMU initialisation, which has to come after the quirks, but still before the real devices. So use fs_initcall_sync() instead -- since this is entirely synchronous, it doesn't hurt that it'll escape the synchronisation. Signed-off-by: David Woodhouse --- Reading git-diff-tree failed