Re: [PATCH v5 6/9] x86/nmi: Prepare for the new NMI-source vector encoding

Sohil Mehta
2025-05-07T22:10:44Z

On 5/7/2025 2:17 AM, Peter Zijlstra wrote:
> On Tue, May 06, 2025 at 06:21:42PM -0700, Sohil Mehta wrote:

>> + if (vector == NMI_VECTOR)
>> + return APIC_DM_NMI;
>> + else
>
> Please drop that else, that's pointless.
>

Will do.

>> + return APIC_DM_FIXED | vector;
>> +}