xtensa: use "m" constraint instead of "r" in futex.h assembly
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 16 Oct 2019 07:49:54 +0000 (00:49 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 26 Nov 2019 19:33:39 +0000 (11:33 -0800)
commit5eff6ca2e39662114675e7cca6a01e15d6c0b5d1
treee3bd9ada742ccd7a285032804f6b496ae3d510c5
parentcf3b3baa712517c4972339b150f79fa88099e5db
xtensa: use "m" constraint instead of "r" in futex.h assembly

Use "m" constraint instead of "r" for the address, as "m" allows
compiler to access adjacent locations using base + offset, while "r"
requires updating the base register every time.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/futex.h