]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: footbridge: fix dc21285 PCI configuration accessors
authorRussell King <rmk+kernel@armlinux.org.uk>
Sun, 18 Oct 2020 08:39:21 +0000 (09:39 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Jan 2021 11:29:53 +0000 (11:29 +0000)
commitee18b3aee40c4d3015153f35919525e265bf475d
tree622212286255d59aa2d47e5f5696ac7c28078631
parent2af7ba1dc0ac24f9c1b6fbed627077d8df258132
ARM: footbridge: fix dc21285 PCI configuration accessors

Building with gcc 4.9.2 reveals a latent bug in the PCI accessors
for Footbridge platforms, which causes a fatal alignment fault
while accessing IO memory. Fix this by making the assembly volatile.

Cc: stable@vger.kernel.org
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mach-footbridge/dc21285.c