diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2010-08-14 12:23:39 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-08-16 13:34:11 +0900 |
commit | e583d6b3c25d4ce3867b345782abd7d11a0d384c (patch) | |
tree | 136b08ee54d1f8208b2f6b90946d7db6ce3dc081 /arch/sh/Kconfig | |
parent | bbcf6e8b66ab2fb5ddab4d0fe40c2e6a5ebe5301 (diff) | |
download | kernel_goldelico_gta04-e583d6b3c25d4ce3867b345782abd7d11a0d384c.zip kernel_goldelico_gta04-e583d6b3c25d4ce3867b345782abd7d11a0d384c.tar.gz kernel_goldelico_gta04-e583d6b3c25d4ce3867b345782abd7d11a0d384c.tar.bz2 |
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/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index b2b90ee..2284215 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -46,7 +46,7 @@ config SUPERH32 select HAVE_ARCH_KGDB select HAVE_HW_BREAKPOINT select HAVE_MIXED_BREAKPOINTS_REGS - select PERF_EVENTS if HAVE_HW_BREAKPOINT + select PERF_EVENTS select ARCH_HIBERNATION_POSSIBLE if MMU config SUPERH64 |