summaryrefslogtreecommitdiff
path: root/arch/x86/machine/trap.c
diff options
context:
space:
mode:
authorRemy Noel <mocramis@gmail.com>2018-04-30 20:55:28 +0200
committerRemy Noel <mocramis@gmail.com>2018-05-03 14:21:10 +0200
commit8f7aeebfc21af051ecb914d286564a10492927a0 (patch)
tree3a4e131977aefbb2cdce854b52381d64eea46f7e /arch/x86/machine/trap.c
parentc4ba76cc4f84a25b259e9089b5e49a6edc015f1d (diff)
perfmon: add polling overflow implementation in perfmon
Diffstat (limited to 'arch/x86/machine/trap.c')
-rw-r--r--arch/x86/machine/trap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/machine/trap.c b/arch/x86/machine/trap.c
index 101adf8..a7a5cbd 100644
--- a/arch/x86/machine/trap.c
+++ b/arch/x86/machine/trap.c
@@ -214,6 +214,7 @@ trap_setup(void)
trap_install(TRAP_LAPIC_TIMER, TRAP_HF_INTR, lapic_timer_intr);
trap_install(TRAP_LAPIC_ERROR, TRAP_HF_INTR, lapic_error_intr);
trap_install(TRAP_LAPIC_SPURIOUS, TRAP_HF_INTR, lapic_spurious_intr);
+ trap_install(TRAP_LAPIC_PMC_OF, TRAP_HF_INTR, lapic_pmc_of_intr);
return 0;
}