]> git.baikalelectronics.ru Git - kernel.git/commit
x86/entry_32: Remove .fixup usage
authorPeter Zijlstra <peterz@infradead.org>
Wed, 10 Nov 2021 10:01:08 +0000 (11:01 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 11 Dec 2021 08:09:46 +0000 (09:09 +0100)
commita83e73a18cdaf0d85af97d877098fc852b7bcb6d
tree345b322a089c1ca16e708ed1123555d729c5bc82
parent070dd8ebd0e7232d0f80c76e1a5fbdbfd1e4b6e1
x86/entry_32: Remove .fixup usage

Where possible, push the .fixup into code, at the tail of functions.

This is hard for macros since they're used in multiple functions,
therefore introduce a new extable handler to pop zeros.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20211110101325.245184699@infradead.org
arch/x86/entry/entry_32.S
arch/x86/include/asm/extable_fixup_types.h
arch/x86/mm/extable.c