]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Mark pointers volatile in __xchg8(), __xchg32() and __xchg64()
authorJohn David Anglin <dave.anglin@bell.net>
Fri, 2 Oct 2020 19:16:49 +0000 (21:16 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 15 Oct 2020 06:10:39 +0000 (08:10 +0200)
commite56aa55feb905f508796ff64be4b9f20abfa58b6
treee10e31fa77c92081ab889c06cdac00d18b9f9dae
parente80eb2db871895fdad4b1c2d2003b86e1af42cc0
parisc: Mark pointers volatile in __xchg8(), __xchg32() and __xchg64()

Let the complier treat the pointers volatile to ensure that they get
accessed atomicly.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/cmpxchg.h
arch/parisc/lib/bitops.c