bus/vmbus: add missing barrier
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 30 Apr 2020 19:08:49 +0000 (12:08 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 May 2020 20:27:39 +0000 (22:27 +0200)
commit1c33435a58f307c1800a79220122026f56fee450
tree1926aebf9cac762f89d4144f4a2232d5f7dd4a0e
parent3a185ff42e7f147b7125fb1d718d349baa4f1aef
bus/vmbus: add missing barrier

The check for event ring being empty needs a barrier
to avoid any over aggressive optimization.
This is same barrier as Linux kernel.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/bus/vmbus/vmbus_channel.c