Re: [patch] Make prof_counter use per-cpu areas patch 2/4 -- ppc arch

Paul Mackerras
2003-01-14T02:15:54Z

Ravikiran G Thirumalai writes:

> This one's for ppc.

[snip]

> -unsigned int prof_counter[NR_CPUS] = { [1 ... NR_CPUS-1] = 1 };
> +DEFINE_PER_CPU(unsigned int, prof_counter) = 1;

I had already done something similar locally which I'll push to Linus
shortly.

Thanks,
Paul.