x86/futex: Remove .fixup usage
authorPeter Zijlstra <peterz@infradead.org>
Wed, 10 Nov 2021 10:01:11 +0000 (11:01 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 11 Dec 2021 08:09:47 +0000 (09:09 +0100)
commit4c132d1d844a53fc4e4b5c34e36ef10d6124b783
treedc4f66e9ec1c73dede46ea9bb7e48bbb5b5c76bb
parentd52a7344bdfa9c3442d3f86fb3501d9343726c76
x86/futex: Remove .fixup usage

Use the new EX_TYPE_IMM_REG to store -EFAULT into the designated 'ret'
register, this removes the need for anonymous .fixup code.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20211110101325.426016322@infradead.org
arch/x86/include/asm/extable_fixup_types.h
arch/x86/include/asm/futex.h