diff options
author | 2021-11-10 11:01:20 +0100 | |
---|---|---|
committer | 2021-12-11 09:09:49 +0100 | |
commit | 5ce8e39f55521c762f0e6d1bba9597284b1f2e69 (patch) | |
tree | e7986c4b43cd54721e3d3f461a6c4b5ff8867499 /arch/x86/include/asm/extable_fixup_types.h | |
parent | x86/checksum_32: Remove .fixup usage (diff) | |
download | linux-5ce8e39f55521c762f0e6d1bba9597284b1f2e69.tar.gz linux-5ce8e39f55521c762f0e6d1bba9597284b1f2e69.tar.bz2 linux-5ce8e39f55521c762f0e6d1bba9597284b1f2e69.zip |
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 |