Fwd: [PATCH] powerpc: disable OProfile for iSeries

Michael Ellerman michael at ellerman.id.au
Thu Feb 23 16:55:22 EST 2006


On Thu, 23 Feb 2006 14:32, Kelly Daly wrote:
> disable OProfile in Kconfig for iSeries to prevent hangs.  OProfile was not
> originally intended to work with legacy iSeries.
>
> diff -urpN linux-2.6.15.4/arch/powerpc/oprofile/Kconfig
> linux-2.6.15.4_patch/arch/powerpc/oprofile/Kconfig ---
> linux-2.6.15.4/arch/powerpc/oprofile/Kconfig	2006-02-10 18:22:48.000000000
> +1100 +++ linux-2.6.15.4_patch/arch/powerpc/oprofile/Kconfig	2006-02-23
> 13:09:00.000000000 +1100 @@ -1,4 +1,5 @@
>  config PROFILING
> +	depends on !PPC_ISERIES

We've been trying to avoid !ISERIES compile time checks because they're a 
barrier to the mythical combined kernel. I haven't looked at the oprofile 
code, but is there an easy way to turn this into a 
firmware_has_feature(ISERIES) check?

cheers

-- 
Michael Ellerman
IBM OzLabs

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20060223/52fe3a81/attachment.pgp 


More information about the Linuxppc64-dev mailing list