]> git.baikalelectronics.ru Git - kernel.git/commit
x86/lib/atomic64_386_32: Rename things
authorPeter Zijlstra <peterz@infradead.org>
Sat, 4 Dec 2021 13:43:39 +0000 (14:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 May 2022 18:18:49 +0000 (20:18 +0200)
commit499a359b8814a3f3cda669dec1ffc1a7709c8fed
tree78792a1507920820c711a8d87026e79cf3e7d225
parent355bfd0b9171ec0408ce64fff6108a4053dbf666
x86/lib/atomic64_386_32: Rename things

[ Upstream commit b14c67fe69189bf185486f60da600a546caaa3b8 ]

Principally, in order to get rid of #define RET in this code to make
place for a new RET, but also to clarify the code, rename a bunch of
things:

  s/UNLOCK/IRQ_RESTORE/
  s/LOCK/IRQ_SAVE/
  s/BEGIN/BEGIN_IRQ_SAVE/
  s/\<RET\>/RET_IRQ_RESTORE/
  s/RET_ENDP/\tRET_IRQ_RESTORE\rENDP/

which then leaves RET unused so it can be removed.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20211204134907.841623970@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/lib/atomic64_386_32.S