diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-11-10 13:01:08 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-12-11 11:09:46 +0300 |
commit | aa93e2ad7464ffb90155a5ffdde963816f86d5dc (patch) | |
tree | 345b322a089c1ca16e708ed1123555d729c5bc82 /arch/x86/include/asm/extable_fixup_types.h | |
parent | 16e617d05ef0c521d000c989796412ce713f28c9 (diff) | |
download | linux-aa93e2ad7464ffb90155a5ffdde963816f86d5dc.tar.xz |
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
Diffstat (limited to 'arch/x86/include/asm/extable_fixup_types.h')
-rw-r--r-- | arch/x86/include/asm/extable_fixup_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/extable_fixup_types.h b/arch/x86/include/asm/extable_fixup_types.h index 409524d5d2eb..4d709a2768bb 100644 --- a/arch/x86/include/asm/extable_fixup_types.h +++ b/arch/x86/include/asm/extable_fixup_types.h @@ -19,4 +19,6 @@ #define EX_TYPE_DEFAULT_MCE_SAFE 12 #define EX_TYPE_FAULT_MCE_SAFE 13 +#define EX_TYPE_POP_ZERO 14 + #endif |