瀏覽代碼

x86, irq: add LOCAL_PERF_VECTOR

Add a slot for the performance monitoring interrupt. Not yet used
by any subsystem - but the hardware has it. (This eases integration
with performance monitoring code.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 16 年之前
父節點
當前提交
193c81b979
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      arch/x86/include/asm/irq_vectors.h

+ 5 - 0
arch/x86/include/asm/irq_vectors.h

@@ -88,6 +88,11 @@
  */
 #define LOCAL_TIMER_VECTOR	0xef
 
+/*
+ * Performance monitoring interrupt vector:
+ */
+#define LOCAL_PERF_VECTOR	0xee
+
 /*
  * First APIC vector available to drivers: (vectors 0x30-0xee) we
  * start at 0x31(0x41) to spread out vectors evenly between priority