From b3957b311a13108dc8851460fe1da90e76324afc Mon Sep 17 00:00:00 2001 From: Max Wash Date: Wed, 10 May 2023 20:22:51 +0100 Subject: [PATCH] x86_64: remove printk call from isr/irq handlers --- arch/x86_64/irq.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86_64/irq.c b/arch/x86_64/irq.c index d703cf1..eacb570 100644 --- a/arch/x86_64/irq.c +++ b/arch/x86_64/irq.c @@ -1,7 +1,6 @@ #include #include #include -#include #include #include #include @@ -129,7 +128,6 @@ int idt_load(struct idt_ptr *ptr) void isr_dispatch(struct cpu_context *regs) { - printk("received ISR#%u on CPU %u", regs->int_no, this_cpu()); int_hook h = isr_handlers[regs->int_no]; if (h) { h(regs); @@ -142,10 +140,6 @@ void irq_dispatch(struct cpu_context *regs) { end_charge_period(); - if (regs->int_no != IRQ0) { - printk("received IRQ#%u on CPU %u", regs->int_no - IRQ0, this_cpu()); - } - irq_ack(regs->int_no); struct queue *hooks = &irq_hooks[regs->int_no - IRQ0]; queue_foreach(struct irq_hook, hook, hooks, irq_entry) {