From: Peter Zijlstra on
On Wed, 2010-03-10 at 18:57 +0900, Tejun Heo wrote:
> lockdep has custom code to check whether a pointer belongs to static
> percpu area which is somewhat broken. Implement proper
> is_kernel/module_percpu_address() and replace the custom code.
>
> On UP, percpu variables are regular static variables and can't be
> distinguished from them. Always return %false on UP.
>
> Signed-off-by: Tejun Heo <tj(a)kernel.org>
> Cc: Rusty Russell <rusty(a)rustcorp.com.au>
> Cc: Ingo Molnar <mingo(a)redhat.com>
> Cc: Peter Zijlstra <peterz(a)infradead.org>

Looks good to me, thanks Tejun!

Acked-by: Peter Zijlstra <a.p.zijlstra(a)chello.nl>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/