]> git.baikalelectronics.ru Git - kernel.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)
commitb09674272a16293e020844db28635bbfddc2cb4f
tree28b93040c032fe5b90bf4fc61fc656eea45832dc
parent9521e33b9dfb3cfadc44cdfce6731da734e8fcac
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