VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Masahiro Yamada <masahiroy@kernel.org> 2020-08-29 14:15:24 +0900 committer: Masahiro Yamada <masahiroy@kernel.org> 2021-02-12 05:11:19 +0900 commit: fa1e160b08e8ceabecbd5b42d8268278197c3e67 parent: a5b7c61ee6ad475e2d7dd1e374f45329bd38e687
Commit Summary:
ia64: remove generated/nr-irqs.h generation to fix build warning
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/arch/ia64/include/asm/irq.h b/arch/ia64/include/asm/irq.h
index 5acf52e90872..0eccf33dfe8b 100644
--- a/arch/ia64/include/asm/irq.h
+++ b/arch/ia64/include/asm/irq.h
@@ -14,7 +14,9 @@
 
 #include <linux/types.h>
 #include <linux/cpumask.h>
-#include <generated/nr-irqs.h>
+#include <asm/native/irq.h>
+
+#define NR_IRQS		IA64_NATIVE_NR_IRQS
 
 static __inline__ int
 irq_canonicalize (int irq)