diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-11-10 13:01:20 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-12-11 11:09:49 +0300 |
commit | 5ce8e39f55521c762f0e6d1bba9597284b1f2e69 (patch) | |
tree | e7986c4b43cd54721e3d3f461a6c4b5ff8867499 /arch/x86/include/asm/extable_fixup_types.h | |
parent | fedb24cda1ca5407e1965b261e349ea85d6c03dc (diff) | |
download | linux-5ce8e39f55521c762f0e6d1bba9597284b1f2e69.tar.xz |
x86/sgx: Remove .fixup usage
Create EX_TYPE_FAULT_SGX which does as EX_TYPE_FAULT does, except adds
this extra bit that SGX really fancies having.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20211110101325.961246679@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 31ad42f1a76e..8278ed220c17 100644 --- a/arch/x86/include/asm/extable_fixup_types.h +++ b/arch/x86/include/asm/extable_fixup_types.h @@ -48,4 +48,6 @@ #define EX_TYPE_ZERO_REG (EX_TYPE_IMM_REG | EX_DATA_IMM(0)) #define EX_TYPE_ONE_REG (EX_TYPE_IMM_REG | EX_DATA_IMM(1)) +#define EX_TYPE_FAULT_SGX 18 + #endif |