From: Paul Mundt <lethal@linux-sh.org>
Date: Mon, 8 Dec 2008 02:45:37 +0000 (+0900)
Subject: sh: Disable GENERIC_HARDIRQS_NO__DO_IRQ for unconverted platforms.
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f9d62c009637f9581cdd7f6e430f8eec511c8587;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

sh: Disable GENERIC_HARDIRQS_NO__DO_IRQ for unconverted platforms.

Presently limited to Cayman, Dreamcast, Microdev, and SystemH 7751.
Re-enable it for everyone once these have been fixed up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 80119b3398e..5c9cbfc14c4 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -55,6 +55,8 @@ config GENERIC_HARDIRQS
 
 config GENERIC_HARDIRQS_NO__DO_IRQ
 	def_bool y
+	depends on SUPERH32 && (!SH_DREAMCAST && !SH_SH4202_MICRODEV && \
+				!SH_7751_SYSTEMH && !HD64461)
 
 config GENERIC_IRQ_PROBE
 	def_bool y