Skip to content

Commit a1fab3e

Browse files
sohilmehKAGA-KOKO
authored andcommitted
x86/irq: Fix comment on IRQ vector layout
commit f5a3562 ("x86/irq: Reserve a per CPU IDT vector for posted MSIs") changed the first system vector from LOCAL_TIMER_VECTOR to POSTED_MSI_NOTIFICATION_VECTOR. Reflect this change in the vector layout comment as well. However, instead of pointing to the specific vector, use the FIRST_SYSTEM_VECTOR indirection which essentially refers to the same. This avoids unnecessary modifications to the same comment whenever additional system vectors get added. Signed-off-by: Sohil Mehta <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Jacob Pan <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent 2db5f86 commit a1fab3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/include/asm/irq_vectors.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* Vectors 0 ... 31 : system traps and exceptions - hardcoded events
1919
* Vectors 32 ... 127 : device interrupts
2020
* Vector 128 : legacy int80 syscall interface
21-
* Vectors 129 ... LOCAL_TIMER_VECTOR-1
22-
* Vectors LOCAL_TIMER_VECTOR ... 255 : special interrupts
21+
* Vectors 129 ... FIRST_SYSTEM_VECTOR-1 : device interrupts
22+
* Vectors FIRST_SYSTEM_VECTOR ... 255 : special interrupts
2323
*
2424
* 64-bit x86 has per CPU IDT tables, 32-bit has one shared IDT table.
2525
*

0 commit comments

Comments
 (0)