diff options
| author | Uros Bizjak <[email protected]> | 2024-06-05 18:13:15 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2024-07-17 14:28:11 +0000 |
| commit | 6e30a7c98a9fda2f894e970e9cd637657f39c59d (patch) | |
| tree | 70618796d6d3dfe48fe0b236febfb5e60d0e3982 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | Merge tag 'net-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ne... (diff) | |
| download | kernel-6e30a7c98a9fda2f894e970e9cd637657f39c59d.tar.gz kernel-6e30a7c98a9fda2f894e970e9cd637657f39c59d.zip | |
locking/atomic/x86: Introduce the read64_nonatomic macro to x86_32 with cx8
As described in commit:
e73c4e34a0e9 ("locking/atomic/x86: Introduce arch_atomic64_read_nonatomic() to x86_32")
the value preload before the CMPXCHG loop does not need to be atomic.
Introduce the read64_nonatomic assembly macro to load the value from a
atomic_t location in a faster non-atomic way and use it in
atomic64_cx8_32.S.
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
