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)
commitaa93e2ad7464ffb90155a5ffdde963816f86d5dc
tree345b322a089c1ca16e708ed1123555d729c5bc82
parent16e617d05ef0c521d000c989796412ce713f28c9
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