aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2021-09-29 10:35:20 +0800
committerRich Felker <dalias@libc.org>2021-10-27 16:50:52 -0400
commit61531cb3f9cd2b012af67f17907687df789465b3 (patch)
treedd563d4daf1ad052d7cca58388dab5c96843d751 /arch/sh/include/asm
parentsh: kdump: add some attribute to function (diff)
downloadlinux-dev-61531cb3f9cd2b012af67f17907687df789465b3.tar.xz
linux-dev-61531cb3f9cd2b012af67f17907687df789465b3.zip
sh: Cleanup about SPARSE_IRQ
After commit 37744feebc08 ("sh: remove sh5 support"), sh always enable SPARSE_IRQ, kill unused MAY_HAVE_SPARSE_IRQ and NR_IRQS define. Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh/include/asm')
-rw-r--r--arch/sh/include/asm/irq.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/sh/include/asm/irq.h b/arch/sh/include/asm/irq.h
index 839551ce398c..1c4923502fd4 100644
--- a/arch/sh/include/asm/irq.h
+++ b/arch/sh/include/asm/irq.h
@@ -6,17 +6,6 @@
#include <asm/machvec.h>
/*
- * Only legacy non-sparseirq platforms have to set a reasonably sane
- * value here. sparseirq platforms allocate their irq_descs on the fly,
- * so will expand automatically based on the number of registered IRQs.
- */
-#ifdef CONFIG_SPARSE_IRQ
-# define NR_IRQS 8
-#else
-# define NR_IRQS 512
-#endif
-
-/*
* This is a special IRQ number for indicating that no IRQ has been
* triggered and to simply ignore the IRQ dispatch. This is a special
* case that can happen with IRQ auto-distribution when multiple CPUs