tools/virtio: add barrier for aarch64
authorPeng Fan <peng.fan@nxp.com>
Wed, 9 Dec 2020 08:42:05 +0000 (16:42 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 18 Dec 2020 21:14:30 +0000 (16:14 -0500)
commit1a5514cbb09aaf694d26ef26fd6da5c5d495cc22
tree10461dd17d5212d0f5e57f5297e302826740982e
parentb9ca93bcd186ec4144df91c619f6084cdad500ec
tools/virtio: add barrier for aarch64

Add barrier for aarch64 for cross compiling, and  most are from Linux Kernel.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20201209084205.24062-4-peng.fan@oss.nxp.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/asm/barrier.h