diff options
| author | Juergen Gross <[email protected]> | 2021-02-19 15:40:30 +0000 |
|---|---|---|
| committer | Boris Ostrovsky <[email protected]> | 2021-02-23 16:07:52 +0000 |
| commit | 6977c0b560f190d0d4786f99d9c120126fe654f2 (patch) | |
| tree | 7edc2267478b06e14da0fc59a60928f50667687d /drivers/xen/xen-acpi-processor.c | |
| parent | xen/evtchn: use smp barriers for user event ring (diff) | |
| download | kernel-6977c0b560f190d0d4786f99d9c120126fe654f2.tar.gz kernel-6977c0b560f190d0d4786f99d9c120126fe654f2.zip | |
xen/evtchn: use READ/WRITE_ONCE() for accessing ring indices
For avoiding read- and write-tearing by the compiler use READ_ONCE()
and WRITE_ONCE() for accessing the ring indices in evtchn.c.
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'drivers/xen/xen-acpi-processor.c')
0 files changed, 0 insertions, 0 deletions
