Files
linux/include
Peter Zijlstra 9c3cef54c5 VMCI: Fixup atomic64_t abuse
The VMCI driver is abusing atomic64_t and atomic_t, there is no actual
atomic RmW operations around.

Rewrite the code to use a regular u64 with READ_ONCE() and
WRITE_ONCE() and a cast to 'unsigned long'. This fully preserves
whatever broken there was (it's not endian-safe for starters, and also
looks to be missing ordering).

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-06 17:51:18 +02:00
..
2019-04-08 15:58:54 -07:00
2019-06-06 17:51:18 +02:00
2019-05-06 13:47:50 -03:00
2019-04-01 17:46:57 +02:00