]> git.baikalelectronics.ru Git - kernel.git/commit
tools/virtio: fix smp_mb on x86
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 25 Jan 2018 23:36:44 +0000 (01:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jan 2018 17:02:55 +0000 (12:02 -0500)
commit58551852de4ea4af2ca9efd1a039bd1f149788f8
tree68e92d489b96c65ef2fe4a662d615d9400af3635
parentd80831c5e749e601c046d5ee76fb5e3af08118a6
tools/virtio: fix smp_mb on x86

Offset 128 overlaps the last word of the redzone.
Use 132 which is always beyond that.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/virtio/ringtest/main.h