]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit350fa688af31da42c1b7656e0a24dda630735622
treedc4f66e9ec1c73dede46ea9bb7e48bbb5b5c76bb
parent42ee8e7984e6ae5d2ac8c217e209eca253efc2c8
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