diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-01-12 05:01:12 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-01-12 05:01:12 -0500 |
commit | 1f16f116b01c110db20ab808562c8b8bc3ee3d6e (patch) | |
tree | 44db563f64cf5f8d62af8f99a61e2b248c44ea3a /arch/parisc/kernel/pci.c | |
parent | 03724ac3d48f8f0e3caf1d30fa134f8fd96c94e2 (diff) | |
parent | f9eccf24615672896dc13251410c3f2f33a14f95 (diff) |
Merge branches 'clockevents/4.4-fixes' and 'clockevents/4.5-fixes' of http://git.linaro.org/people/daniel.lezcano/linux into timers/urgent
Pull in fixes from Daniel Lezcano:
- Fix the vt8500 timer leading to a system lock up when dealing with too
small delta (Roman Volkov)
- Select the CLKSRC_MMIO when the fsl_ftm_timer is enabled with COMPILE_TEST
(Daniel Lezcano)
- Prevent to compile timers using the 'iomem' API when the architecture has
not HAS_IOMEM set (Richard Weinberger)
Diffstat (limited to 'arch/parisc/kernel/pci.c')
-rw-r--r-- | arch/parisc/kernel/pci.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/parisc/kernel/pci.c b/arch/parisc/kernel/pci.c index 64f2764a8cef..c99f3dde455c 100644 --- a/arch/parisc/kernel/pci.c +++ b/arch/parisc/kernel/pci.c | |||
@@ -171,24 +171,6 @@ void pcibios_set_master(struct pci_dev *dev) | |||
171 | } | 171 | } |
172 | 172 | ||
173 | 173 | ||
174 | void __init pcibios_init_bus(struct pci_bus *bus) | ||
175 | { | ||
176 | struct pci_dev *dev = bus->self; | ||
177 | unsigned short bridge_ctl; | ||
178 | |||
179 | /* We deal only with pci controllers and pci-pci bridges. */ | ||
180 | if (!dev || (dev->class >> 8) != PCI_CLASS_BRIDGE_PCI) | ||
181 | return; | ||
182 | |||
183 | /* PCI-PCI bridge - set the cache line and default latency | ||
184 | (32) for primary and secondary buses. */ | ||
185 | pci_write_config_byte(dev, PCI_SEC_LATENCY_TIMER, 32); | ||
186 | |||
187 | pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &bridge_ctl); | ||
188 | bridge_ctl |= PCI_BRIDGE_CTL_PARITY | PCI_BRIDGE_CTL_SERR; | ||
189 | pci_write_config_word(dev, PCI_BRIDGE_CONTROL, bridge_ctl); | ||
190 | } | ||
191 | |||
192 | /* | 174 | /* |
193 | * pcibios align resources() is called every time generic PCI code | 175 | * pcibios align resources() is called every time generic PCI code |
194 | * wants to generate a new address. The process of looking for | 176 | * wants to generate a new address. The process of looking for |