diff options
author | Remy Noel <mocramis@gmail.com> | 2018-04-21 09:08:03 +0200 |
---|---|---|
committer | Remy Noel <mocramis@gmail.com> | 2018-04-21 09:08:03 +0200 |
commit | af9d9e6ee727c3f4b879a0980e4d2835399f533a (patch) | |
tree | 64d1472d62e6359b95b54371e7eba5e08ca2ebdb /arch/x86/machine/lapic.c | |
parent | 5b92bf60486b62c8222ebd63d44faa7804c0edeb (diff) |
lapic: fix non-perfmon compilation.
Diffstat (limited to 'arch/x86/machine/lapic.c')
-rw-r--r-- | arch/x86/machine/lapic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/machine/lapic.c b/arch/x86/machine/lapic.c index ebff5fc..7e8299e 100644 --- a/arch/x86/machine/lapic.c +++ b/arch/x86/machine/lapic.c @@ -338,7 +338,10 @@ lapic_ipi_broadcast(uint32_t vector) void lapic_pmc_of_intr(struct trap_frame *frame) { + (void)frame; +#ifdef CONFIG_PERFMON perfmon_handle_of_intr(frame); +#endif lapic_eoi(); } |