summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-31 02:23:27 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-31 02:23:27 +0100
commit193c81b979adbc4a540bf89e75b9039fae75bf82 (patch)
treeda17745456f72c4d964f4cad96e50f9043afa9a5
parent6b64ee02da20d6c0d97115e0b1ab47f9fa2f0d8f (diff)
downloadop-kernel-dev-193c81b979adbc4a540bf89e75b9039fae75bf82.zip
op-kernel-dev-193c81b979adbc4a540bf89e75b9039fae75bf82.tar.gz
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>
-rw-r--r--arch/x86/include/asm/irq_vectors.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h
index 9a83a10..0e2220b 100644
--- a/arch/x86/include/asm/irq_vectors.h
+++ b/arch/x86/include/asm/irq_vectors.h
@@ -89,6 +89,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
* levels. (0x80 is the syscall vector)
OpenPOWER on IntegriCloud