Re: [PATCH v3 1/8] x86/traps: add X86_NR_HW_TRAPS to <asm/trapnr.h>

From: H. Peter Anvin
Date: Wed May 19 2021 - 18:24:59 EST


It is not right now, but it will be used in the FRED enabling patchset at the very least (since the number of exception vectors and FIRST_EXTERNAL_VECTOR are not necessarily the same anymore.)

On May 19, 2021 3:17:57 PM PDT, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>On Wed, May 19 2021 at 14:21, H. Peter Anvin wrote:
>> From: "H. Peter Anvin (Intel)" <hpa@xxxxxxxxx>
>>
>> The x86 architecture supports up to 32 trap vectors. Add that
>constant
>> to <asm/trapnr.h>.
>
>Where is that actually used?
>
>Thanks,
>
> tglx

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.