Re: [PATCH] perf_counter: do not create perf counter mlock sysctlwhen CONFIG_PERF_COUNTERS=n

From: Ian Campbell
Date: Sun May 24 2009 - 04:25:33 EST


On Fri, 2009-05-22 at 15:25 -0400, Ingo Molnar wrote:
> * Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
>
> > Building tip from 82811bee3 without CONFIG_PERF_COUNTERS results in:
> >
> > CC kernel/sysctl.o
> > kernel/sysctl.c:928: error: 'sysctl_perf_counter_mlock' undeclared here (not in a function)

> Hm, is this still needed? It doesnt apply here and i'm not seeing
> build failures.

Looks like I was using an obsolete branch, on current tip (790dc57b) it
was already fixed by the commit which added the first perf counter
sysctl in 1ccd1549.

Ian.

--
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/