]> 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)
committerBorislav Petkov <bp@suse.de>
Wed, 8 Dec 2021 10:57:08 +0000 (11:57 +0100)
commitb14c67fe69189bf185486f60da600a546caaa3b8
tree2d3477da7d417709722193edb36cfaf679610078
parent1d93807877ddebf5442df5d5e983b2a50ae93973
x86/lib/atomic64_386_32: Rename things

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
arch/x86/lib/atomic64_386_32.S