blob: 7207fa08d78f86a26b0181c97c0c3761f4d49043 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2012 Regents of the University of California
4 * Copyright (C) 2017 SiFive
5 * Copyright (C) 2018 Christoph Hellwig
6 */
7
8#include <linux/interrupt.h>
9#include <linux/irqchip.h>
David Brazdil0f672f62019-12-10 10:32:29 +000010#include <linux/seq_file.h>
11#include <asm/smp.h>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000012
David Brazdil0f672f62019-12-10 10:32:29 +000013int arch_show_interrupts(struct seq_file *p, int prec)
14{
15 show_ipi_stats(p, prec);
16 return 0;
17}
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000018
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000019void __init init_IRQ(void)
20{
21 irqchip_init();
Olivier Deprez157378f2022-04-04 15:47:50 +020022 if (!handle_arch_irq)
23 panic("No interrupt controller found.");
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000024}