From a9b41369c11f842af0c9e17a2bb47ee63d325b38 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sat, 10 Jun 2017 14:33:44 +0200 Subject: [PATCH] use interrupt 83 (instead of 82) to wakeup a core - interrupt 82 is already used to realize signals --- arch/x86/kernel/apic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index fae55f92a..d4b0a7637 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c @@ -1048,7 +1048,7 @@ void wakeup_core(uint32_t core_id) return; LOG_DEBUG("wakeup core %d\n", core_id); - apic_send_ipi(core_id, 82+32); + apic_send_ipi(core_id, 83+32); } static void apic_err_handler(struct state *s) @@ -1128,7 +1128,7 @@ int apic_init(void) irq_install_handler(80+32, apic_tlb_handler); #endif irq_install_handler(81+32, apic_shutdown); - irq_install_handler(82+32, apic_wakeup_handler); + irq_install_handler(83+32, apic_wakeup_handler); if (apic_processors[boot_processor]) LOG_INFO("Boot processor %u (ID %u)\n", boot_processor, apic_processors[boot_processor]->id); else