From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 04 Jan 2024 10:08:02 +0000 Subject: [PATCH] disable FB --- kernel/arch/riscv/include/asm/irq.h | 16 +++------------- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git a/kernel/arch/riscv/include/asm/irq.h b/kernel/arch/riscv/include/asm/irq.h index 996b6fb..9807ad1 100644 --- a/kernel/arch/riscv/include/asm/irq.h +++ b/kernel/arch/riscv/include/asm/irq.h @@ -1,24 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 Regents of the University of California * Copyright (C) 2017 SiFive - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, version 2. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #ifndef _ASM_RISCV_IRQ_H #define _ASM_RISCV_IRQ_H -#define NR_IRQS 0 - -void riscv_timer_interrupt(void); -void riscv_software_interrupt(void); +#include <linux/interrupt.h> +#include <linux/linkage.h> #include <asm-generic/irq.h> -- Gitblit v1.6.2