Fix oprofile configuration breakage
authorRalf Baechle <ralf@linux-mips.org>
Thu, 6 Dec 2007 16:53:19 +0000 (16:53 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 6 Dec 2007 17:37:03 +0000 (09:37 -0800)
commit00a5825332769706eb2e276c101dd20269a53992
tree7ae71fbd4e111dc80e493d25fc12b855f7028e85
parent7e1fb765c613298d861f80fa18af26df87a4ec19
Fix oprofile configuration breakage

The cleanup 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9 broke the oprofile
configuration for MIPS by allowing oprofile support to be built for
kernel models where oprofile doesn't have a chance in hell to work.

Just a dependecy list on a number of architectures is - surprise - broken
and should as per past discussions probably in most considered to be
broken in most cases.  So I introduce a dependency for the oprofile
configuration on ARCH_SUPPORTS_OPROFILE.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mips/Kconfig
kernel/Kconfig.instrumentation