https://github.com/torvalds/linux
Revision 7c7a0e945349a3d0d497d7f32db6ed33d4031110 authored by Gabriele Paoloni on 11 November 2015, 01:12:25 UTC, committed by Bjorn Helgaas on 25 November 2015, 19:23:38 UTC
Commit b3a72384fe29 ("ARM/PCI: Replace pci_sys_data->align_resource with global function pointer") introduced an ARM-specific align_resource() function pointer. This is not portable to other arches and doesn't work for platforms with two different PCIe host bridge controllers. Move the function pointer to the pci_host_bridge structure so each host bridge driver can specify its own align_resource() function. Signed-off-by: Gabriele Paoloni <gabriele.paoloni@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
1 parent 9f55cf5
Tip revision: 7c7a0e945349a3d0d497d7f32db6ed33d4031110 authored by Gabriele Paoloni on 11 November 2015, 01:12:25 UTC
ARM/PCI: Move align_resource function pointer to pci_host_bridge structure
ARM/PCI: Move align_resource function pointer to pci_host_bridge structure
Tip revision: 7c7a0e9
File | Mode | Size |
---|---|---|
6lowpan | ||
802 | ||
8021q | ||
9p | ||
appletalk | ||
atm | ||
ax25 | ||
batman-adv | ||
bluetooth | ||
bridge | ||
caif | ||
can | ||
ceph | ||
core | ||
dcb | ||
dccp | ||
decnet | ||
dns_resolver | ||
dsa | ||
ethernet | ||
hsr | ||
ieee802154 | ||
ipv4 | ||
ipv6 | ||
ipx | ||
irda | ||
iucv | ||
key | ||
l2tp | ||
l3mdev | ||
lapb | ||
llc | ||
mac80211 | ||
mac802154 | ||
mpls | ||
netfilter | ||
netlabel | ||
netlink | ||
netrom | ||
nfc | ||
openvswitch | ||
packet | ||
phonet | ||
rds | ||
rfkill | ||
rose | ||
rxrpc | ||
sched | ||
sctp | ||
sunrpc | ||
switchdev | ||
tipc | ||
unix | ||
vmw_vsock | ||
wimax | ||
wireless | ||
x25 | ||
xfrm | ||
Kconfig | -rw-r--r-- | 12.1 KB |
Makefile | -rw-r--r-- | 2.2 KB |
compat.c | -rw-r--r-- | 23.9 KB |
socket.c | -rw-r--r-- | 79.6 KB |
sysctl_net.c | -rw-r--r-- | 2.9 KB |
Computing file changes ...