diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2019-03-25 15:09:33 +0530 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-04-15 13:24:01 +0100 |
commit | f316a2b53cd7f37963ae20ec7072eb27a349a4ce (patch) | |
tree | b58669c006dc6d48f2a6c44b7442352d176aca87 /drivers/pci/controller/dwc/pci-layerscape.c | |
parent | 2aadcb0cd39198833fabe1c45084f78686e71a6c (diff) | |
download | linux-f316a2b53cd7f37963ae20ec7072eb27a349a4ce.tar.bz2 |
PCI: keystone: Prevent ARM32 specific code to be compiled for ARM64
hook_fault_code() is an ARM32 specific API for hooking into data abort.
AM65X platforms (that integrate ARM v8 cores and select CONFIG_ARM64 as
arch) rely on pci-keystone.c but on them the enumeration of a
non-present BDF does not trigger a bus error, so the fixup exception
provided by calling hook_fault_code() is not needed and can be guarded
with CONFIG_ARM.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
[lorenzo.pieralisi@arm.com: commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions