mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 12:54:27 +00:00
Instead of directly calling RISC-V timer interrupt handler from RISC-V local interrupt conntroller driver, this patch implements RISC-V timer interrupt as a per-CPU interrupt using per-CPU APIs of Linux IRQ subsystem. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Atish Patra <[email protected]> Reviewed-by: Marc Zyngier <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
16 lines
311 B
C
16 lines
311 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2012 Regents of the University of California
|
|
* Copyright (C) 2017 SiFive
|
|
*/
|
|
|
|
#ifndef _ASM_RISCV_IRQ_H
|
|
#define _ASM_RISCV_IRQ_H
|
|
|
|
#include <linux/interrupt.h>
|
|
#include <linux/linkage.h>
|
|
|
|
#include <asm-generic/irq.h>
|
|
|
|
#endif /* _ASM_RISCV_IRQ_H */
|