aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2010-08-14 08:23:39 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-08-16 00:34:11 -0400
commite583d6b3c25d4ce3867b345782abd7d11a0d384c (patch)
tree136b08ee54d1f8208b2f6b90946d7db6ce3dc081 /arch/sh/Kconfig
parentbbcf6e8b66ab2fb5ddab4d0fe40c2e6a5ebe5301 (diff)
sh: fix recursive dependency in Kconfig
When executing: make ARCH=sh defconfig kconfig segfaulted. kconfig should obviously not segfault. But this indicated a problem in the sh files which was tracked down to a recursive dependency. We select HAVE_HW_BREAKPOINT and in the following line we use the same symbol in an expression. Drop the conditional as it is of no use. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index b2b90ee39447..2284215981ed 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -46,7 +46,7 @@ config SUPERH32
46 select HAVE_ARCH_KGDB 46 select HAVE_ARCH_KGDB
47 select HAVE_HW_BREAKPOINT 47 select HAVE_HW_BREAKPOINT
48 select HAVE_MIXED_BREAKPOINTS_REGS 48 select HAVE_MIXED_BREAKPOINTS_REGS
49 select PERF_EVENTS if HAVE_HW_BREAKPOINT 49 select PERF_EVENTS
50 select ARCH_HIBERNATION_POSSIBLE if MMU 50 select ARCH_HIBERNATION_POSSIBLE if MMU
51 51
52config SUPERH64 52config SUPERH64