OSDN Git Service

pvcalls-front: 64-bit align flags
authorStefano Stabellini <sstabellini@kernel.org>
Thu, 1 Mar 2018 02:05:34 +0000 (18:05 -0800)
committerJuergen Gross <jgross@suse.com>
Thu, 1 Mar 2018 06:23:36 +0000 (07:23 +0100)
commitd811bcee1f7a379cad893fdee4c8db5775963b7f
tree17b1b13bd4777b6f26d65280d765e9d34ad26e9d
parent47b02f4c621c5ae9fd27248dfa9a194bc1387ecb
pvcalls-front: 64-bit align flags

We are using test_and_* operations on the status and flag fields of
struct sock_mapping. However, these functions require the operand to be
64-bit aligned on arm64. Currently, only status is 64-bit aligned.

Make status and flags explicitly 64-bit aligned.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/pvcalls-front.c