diff options
author | Vladimir Murzin <murzin.v@gmail.com> | 2014-04-27 11:09:12 +0200 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-04-28 12:09:40 +0200 |
commit | 05a812ac474d0d6aef6d54b66bb08b81abde79c6 (patch) | |
tree | 016ab4001a17411758548428af3c4cced70cb052 /arch/hexagon | |
parent | arm/xen: Remove definiition of virt_to_pfn in asm/xen/page.h (diff) | |
download | linux-05a812ac474d0d6aef6d54b66bb08b81abde79c6.tar.xz linux-05a812ac474d0d6aef6d54b66bb08b81abde79c6.zip |
xen/events/fifo: correctly align bitops
FIFO event channels require bitops on 32-bit aligned values (the event
words). Linux's bitops require unsigned long alignment which may be
64-bits.
On arm64 an incorrectly unaligned access will fault.
Fix this by aligning the bitops along with an adjustment for bit
position and using an unsigned long for the local copy of the ready
word.
Cc: stable@vger.kernel.org
Signed-off-by: Vladimir Murzin <murzin.v@gmail.com>
Tested-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Reviewed-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/hexagon')
0 files changed, 0 insertions, 0 deletions