Re: [2.6.24 patch] restore blackfin HARDWARE_PM support

From: Mathieu Desnoyers
Date: Fri Dec 28 2007 - 14:19:20 EST


* Adrian Bunk (adrian.bunk@xxxxxxxxx) wrote:
> This patch restores the blackfin Hardware Performance Monitor Profiling
> support that was killed by
> commit 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9.
>
> Signed-off-by: Adrian Bunk <adrian.bunk@xxxxxxxxx>
>

Yep, this one too must be put back, but kernel/Kconfig.instrumentation
seems like the wrong spot for a blackfin-specific config option (and
this will break the instrumentation menu removal patches in -mm).

Can we put this in arch/blackfin/Kconfig instead ?

> ---
>
> kernel/Kconfig.instrumentation | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> 942996f33f81726c5edb012d61ecdad70c55884d
> diff --git a/kernel/Kconfig.instrumentation b/kernel/Kconfig.instrumentation
> index 97c76ca..e023671 100644
> --- a/kernel/Kconfig.instrumentation
> +++ b/kernel/Kconfig.instrumentation
> @@ -44,2 +44,11 @@ config OPROFILE_MPCORE
>
> +config HARDWARE_PM
> + tristate "Hardware Performance Monitor Profiling"
> + depends on BLACKFIN && PROFILING
> + help
> + take use of hardware performance monitor to profiling the kernel
> + and application.
> +
> + If unsure, say N.
> +
> config KPROBES
>

--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/