x86/asm: Simplify __smp_mb() definition
authorBorislav Petkov <bp@suse.de>
Wed, 12 May 2021 09:33:10 +0000 (11:33 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 12 May 2021 10:22:57 +0000 (12:22 +0200)
commit1bc67873d401e6c2e6e30be7fef21337db07a042
tree439d894c6e30cb505ebf48f201823c3856943655
parent64e1f5872a8c3d80bce4686b4ab5dbc6e6bd30c5
x86/asm: Simplify __smp_mb() definition

Drop the bitness ifdeffery in favor of using _ASM_SP,
which is the helper macro for the rSP register specification
for 32 and 64 bit depending on the build.

No functional changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210512093310.5635-1-bp@alien8.de
arch/x86/include/asm/barrier.h