diff options
author | Denis Efremov <[email protected]> | 2019-07-29 13:13:57 +0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-08-08 15:12:07 -0500 |
commit | b8074aa2460b535915e8f65bf83c4bcb4220f804 (patch) | |
tree | 1c987393101430e7ac9241cee61f69c779897fe2 /fs/btrfs/dev-replace.c | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) |
PCI: Convert pci_resource_to_user() to a weak function
Convert pci_resource_to_user() to a weak function so the existing
architecture-specific implementations will automatically override the
generic one. This allows us to remove HAVE_ARCH_PCI_RESOURCE_TO_USER
definitions and avoid the conditional compilation for this single function.
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Denis Efremov <[email protected]>
[bhelgaas: squash into one commit]
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Paul Burton <[email protected]> # MIPS
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions