Home
last modified time | relevance | path

Searched hist:"1 c78217fc8c0983f5768a2d1c17c022f1079751e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/cpufreq/
H A Domap-cpufreq.cdiff 1c78217fc8c0983f5768a2d1c17c022f1079751e Thu May 26 21:39:20 CDT 2011 Nishanth Menon <nm@ti.com> cpufreq: OMAP: fix freq_table leak

We use a single frequency table for multiple CPUs. But, with
OMAP4, since we have multiple CPUs, the cpu_init call for CPU1
causes freq_table previously allocated for CPU0 to be overwritten.
In addition, we dont free the table on exit path.

We solve this by maintaining an atomic type counter to ensure
just a single table exists at a given time.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>