You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
sparc64/PCI: drop PCI_CACHE_LINE_BYTES
sparc64 is now the only user of PCI_CACHE_LINE_BYTES. Drop it and set pci_dfl_cache_line_size from pcibios_init() instead and drop PCI_CACHE_LINE_BYTES handling from generic pci code. Orignally-From: David Miller <davem@davemloft.net> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
+1
-5
@@ -47,17 +47,13 @@ unsigned long pci_cardbus_mem_size = DEFAULT_CARDBUS_MEM_SIZE;
|
||||
unsigned long pci_hotplug_io_size = DEFAULT_HOTPLUG_IO_SIZE;
|
||||
unsigned long pci_hotplug_mem_size = DEFAULT_HOTPLUG_MEM_SIZE;
|
||||
|
||||
#ifndef PCI_CACHE_LINE_BYTES
|
||||
#define PCI_CACHE_LINE_BYTES L1_CACHE_BYTES
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The default CLS is used if arch didn't set CLS explicitly and not
|
||||
* all pci devices agree on the same value. Arch can override either
|
||||
* the dfl or actual value as it sees fit. Don't forget this is
|
||||
* measured in 32-bit words, not bytes.
|
||||
*/
|
||||
u8 pci_dfl_cache_line_size __initdata = PCI_CACHE_LINE_BYTES >> 2;
|
||||
u8 pci_dfl_cache_line_size __initdata = L1_CACHE_BYTES >> 2;
|
||||
u8 pci_cache_line_size;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user