blob: 6e1b0e0325eb92a26bba60f7c08c7c32a37a45d0 [file] [log] [blame]
Thomas Gleixner50acfb22019-05-29 07:18:00 -07001/* SPDX-License-Identifier: GPL-2.0-only */
Palmer Dabbelt6d60b6e2017-07-10 18:05:09 -07002/*
3 * Copyright (C) 2012 Regents of the University of California
4 * Copyright (C) 2017 SiFive
Palmer Dabbelt6d60b6e2017-07-10 18:05:09 -07005 */
6
7#ifndef _ASM_RISCV_IRQ_H
8#define _ASM_RISCV_IRQ_H
9
Paul Walmsley5ed881b2019-10-17 15:21:28 -070010#include <linux/interrupt.h>
11#include <linux/linkage.h>
12
Palmer Dabbelt6d60b6e2017-07-10 18:05:09 -070013#define NR_IRQS 0
14
Palmer Dabbelt6d60b6e2017-07-10 18:05:09 -070015void riscv_timer_interrupt(void);
Christoph Hellwigb9d55352018-08-04 10:23:13 +020016void riscv_software_interrupt(void);
Palmer Dabbelt6d60b6e2017-07-10 18:05:09 -070017
18#include <asm-generic/irq.h>
19
20#endif /* _ASM_RISCV_IRQ_H */