linux/linux-5.18.11/arch/csky/kernel/irq.c

18 lines
335 B
C
Raw Normal View History

2024-03-22 18:12:32 +00:00
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irqchip.h>
#include <asm/traps.h>
#include <asm/smp.h>
void __init init_IRQ(void)
{
irqchip_init();
#ifdef CONFIG_SMP
setup_smp_ipi();
#endif
}