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)
commit22da5a07c75e1104caf6a42f189c97b83d070073
tree2d3477da7d417709722193edb36cfaf679610078
parent68cf4f2a72ef8786e6b7af6fd9a89f27ac0f520d
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