x86/word-at-a-time: Remove .fixup usage
authorPeter Zijlstra <peterz@infradead.org>
Wed, 10 Nov 2021 10:01:23 +0000 (11:01 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 11 Dec 2021 08:09:50 +0000 (09:09 +0100)
commitb7760780257354bb14de62abed868405b844fa13
tree9bf71c95c2f206c86a4cc75f2f9070aa5bf3af5b
parentd5d797dcbd781cb7c526ad32f31c7fd96babfdb2
x86/word-at-a-time: Remove .fixup usage

Rewrite load_unaligned_zeropad() to not require .fixup text.

This is easiest done using asm-goto-output, where we can stick a C
label in the exception table entry. The fallback version isn't nearly
so nice but should work.

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