Re: 2.6.18-rt1

Lennert Buytenhek
2006-09-22T06:36:24Z

On Thu, Sep 21, 2006 at 10:19:21PM -0400, john cooper wrote:

> >ok, i've uploaded -rt3:
>
> Attached is a patch which fixes a build problem
> for ARM pxa270, and general ARM boot issue when
> LATENCY_TRACE is configured.
>
> -john
>
> --
> john.cooper@third-harmonic.com

> include/asm-arm/arch-pxa/timex.h | 2 ++
> kernel/latency_trace.c | 2 ++
> 2 files changed, 4 insertions(+)
> =================================================================
> --- ./kernel/latency_trace.c.ORG 2006-09-20 21:10:15.000000000 -0400
> +++ ./kernel/latency_trace.c 2006-09-21 21:28:49.000000000 -0400
> @@ -150,6 +150,8 @@ enum trace_flag_type
> */
> #if !defined(CONFIG_DEBUG_PAGEALLOC) && !defined(CONFIG_SMP) && !defined(CONFIG_ARM)
> # define MAX_TRACE (unsigned long)(8192*16-1)
> +#elif defined(CONFIG_ARM) /* 4MB kernel image size limitation */
> +# define MAX_TRACE (unsigned long)(128*2-1)

This patch (queued for Linus) lifts that 4MB limitation:

http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=3809/2

(I ran into the limit when enabling lockdep on ARM.)

cheers,
Lennert