blob: 6e1b0e0325eb92a26bba60f7c08c7c32a37a45d0 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Copyright (C) 2012 Regents of the University of California
4 * Copyright (C) 2017 SiFive
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00005 */
6
7#ifndef _ASM_RISCV_IRQ_H
8#define _ASM_RISCV_IRQ_H
9
David Brazdil0f672f62019-12-10 10:32:29 +000010#include <linux/interrupt.h>
11#include <linux/linkage.h>
12
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000013#define NR_IRQS 0
14
15void riscv_timer_interrupt(void);
16void riscv_software_interrupt(void);
17
18#include <asm-generic/irq.h>
19
20#endif /* _ASM_RISCV_IRQ_H */