PCI: Replace HAVE_ARCH_PCI_MWI with PCI_DISABLE_MWI
commitedb2d97eb57b7a21c9256260562de6a65dda86cc
authorMatthew Wilcox <matthew@wil.cx>
Tue, 10 Oct 2006 14:01:21 +0000 (10 08:01 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:36:57 +0000 (1 14:36 -0800)
treec07b98d0e14256e6a91709c39e55074d5ffcc05e
parentebf5a24829def5d066922ceebde61dd57fdc6b1e
PCI: Replace HAVE_ARCH_PCI_MWI with PCI_DISABLE_MWI

pSeries is the only architecture left using HAVE_ARCH_PCI_MWI and it's
really inappropriate for its needs.  It really wants to disable MWI
altogether.  So here are a pair of stub implementations for pci_set_mwi
and pci_clear_mwi.

Also rename pci_generic_prep_mwi to pci_set_cacheline_size since that
better reflects what it does.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci.c
include/asm-powerpc/pci.h