]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI: Use pci_generic_prep_mwi on ia64
authorMatthew Wilcox <matthew@wil.cx>
Tue, 10 Oct 2006 14:01:19 +0000 (08:01 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:36:56 +0000 (14:36 -0800)
commit3efe2d84c8d909567c7976a7106114127b8c3470
tree28b93040c032fe5b90bf4fc61fc656eea45832dc
parent368c73d4f689dae0807d0a2aa74c61fd2b9b075f
PCI: Use pci_generic_prep_mwi on ia64

The pci_generic_prep_mwi() code does everything that pcibios_prep_mwi()
does on ia64.  All we need to do is be sure that pci_cache_line_size
is set appropriately, and we can delete pcibios_prep_mwi().

Using SMP_CACHE_BYTES as the default was wrong on uniprocessor machines
as it is only 8 bytes.  The default in the generic code of L1_CACHE_BYTES
is at least as good.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ia64/pci/pci.c
include/asm-ia64/pci.h