Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=26e6385f14b991e30450daee4348cbbc4bc4bb09 Commit: 26e6385f14b991e30450daee4348cbbc4bc4bb09 Parent: 9245df0cd385419f9cdd83512feb80bbb719417e Author: David S. Miller <[EMAIL PROTECTED]> AuthorDate: Thu May 10 02:16:27 2007 -0700 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Thu May 10 02:16:27 2007 -0700
[SPARC64]: Use alloc_pci_dev() in PCI bus probes. Otherwise MSI explodes because pci_msi_init_pci_dev() does not get invoked. Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- arch/sparc64/kernel/pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c index d85e1ed..cf9a751 100644 --- a/arch/sparc64/kernel/pci.c +++ b/arch/sparc64/kernel/pci.c @@ -377,7 +377,7 @@ struct pci_dev *of_create_pci_dev(struct pci_pbm_info *pbm, const char *type; u32 class; - dev = kzalloc(sizeof(struct pci_dev), GFP_KERNEL); + dev = alloc_pci_dev(); if (!dev) return NULL; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html