x86/percpu: Remove "e" constraint from XADD
authorBrian Gerst <brgerst@gmail.com>
Mon, 20 Jul 2020 20:49:19 +0000 (13:49 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 23 Jul 2020 09:46:40 +0000 (11:46 +0200)
commite4d16defbbde028aeab2026995f0ced4240df6d6
tree90ef9e707a5a71b97c8aa635d8b94da9dae5eb2a
parent33e5614a435ff8047d768e6501454ae1cc7f131f
x86/percpu: Remove "e" constraint from XADD

The "e" constraint represents a constant, but the XADD instruction doesn't
accept immediate operands.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Dennis Zhou <dennis@kernel.org>
Link: https://lkml.kernel.org/r/20200720204925.3654302-6-ndesaulniers@google.com
arch/x86/include/asm/percpu.h