From: Maxim Shchetynin Date: Fri, 4 Jul 2008 19:05:39 +0000 (+1000) Subject: powerpc/spufs: add atomic busy_spus counter to struct cbe_spu_info X-Git-Tag: v2.6.27-rc1~1058^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fabb657005edbbcb0d13ee49a40f1f4b042a1d19;p=pandora-kernel.git powerpc/spufs: add atomic busy_spus counter to struct cbe_spu_info As nr_active counter includes also spus waiting for syscalls to return we need a seperate counter that only counts spus that are currently running on spu side. This counter shall be used by a cpufreq governor that targets a frequency dependent from the number of running spus. Signed-off-by: Christian Krafft Acked-by: Jeremy Kerr Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed