Searched hist:"81931012 bd7dc52fadf2b720605fce8a7148d4a7" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/virtio/ringtest/ |
H A D | main.h | diff 81931012bd7dc52fadf2b720605fce8a7148d4a7 Sun Nov 27 21:43:47 CST 2022 Davidlohr Bueso <dave@stgolabs.net> tools/virtio: remove smp_read_barrier_depends()
This gets rid of the last references to smp_read_barrier_depends() which for the kernel side was removed in v5.9. The serialization required for Alpha is done inside READ_ONCE() instead of having users deal with it. Simply use a full barrier, the architecture does not have rmb in the first place.
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Message-Id: <20221128034347.990-3-dave@stgolabs.net> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
|