From: Vladimir Murzin Date: Sun, 27 Apr 2014 09:09:12 +0000 (+0100) Subject: xen/events/fifo: correctly align bitops X-Git-Tag: omap-for-v3.16/fixes-against-rc1~191^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05a812ac474d0d6aef6d54b66bb08b81abde79c6;p=pandora-kernel.git 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 Tested-by: Pranavkumar Sawargaonkar Reviewed-by: Ian Campbell Signed-off-by: David Vrabel --- Reading git-diff-tree failed