aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-acpi-processor.c
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2021-02-19 15:40:30 +0000
committerBoris Ostrovsky <[email protected]>2021-02-23 16:07:52 +0000
commit6977c0b560f190d0d4786f99d9c120126fe654f2 (patch)
tree7edc2267478b06e14da0fc59a60928f50667687d /drivers/xen/xen-acpi-processor.c
parentxen/evtchn: use smp barriers for user event ring (diff)
downloadkernel-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