]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jul 2022 15:25:26 +0000 (17:25 +0200)
commit9fc4ad79ea6944d1a982670460b3290eae3b4b6c
tree809d41ca23e41907c67d6f6d830932f4f3299c9f
parent8aeb39bff8fca1b0f7f6d6aee228cecbe560e0bc
x86/entry_32: Remove .fixup usage

[ Upstream commit a83e73a18cdaf0d85af97d877098fc852b7bcb6d ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/entry/entry_32.S
arch/x86/include/asm/extable_fixup_types.h
arch/x86/mm/extable.c