[Cbe-oss-dev] [PATCH] OProfile: fix Kconfig changes in the 2.6.23 kernel

Bob Nelson rrnelson at linux.vnet.ibm.com
Wed Oct 31 09:08:21 EST 2007


The OPROFILE_CELL config option was deleted in a recent restructuring of the
Kconfig files in the 2.6.23 kernel tree.  This will break Cell SPU profiling.
This patch adds it back in as a silent option.

Signed-off-by: Bob Nelson <rrnelson at us.ibm.com>

---

The patch mentioned can be found at:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=09cadedbdc01f1a4bea1f427d4fb4642eaa19da9

Index: linux-2.6/arch/powerpc/platforms/cell/Kconfig
===================================================================
--- linux-2.6.orig/arch/powerpc/platforms/cell/Kconfig
+++ linux-2.6/arch/powerpc/platforms/cell/Kconfig
@@ -88,3 +88,8 @@ config CBE_CPUFREQ_PMI
	but also at lower core voltage.
 
 endmenu
+
+config OPROFILE_CELL
+	def_bool y
+	depends on (SPU_FS = y && OPROFILE = m) || (SPU_FS = y && OPROFILE = y) || (SPU_FS = m && OPROFILE = m)
+



More information about the cbe-oss-dev mailing list