[CPUFREQ] cpumask: don't put a cpumask on the stack in x86...cpufreq/powernow-k8.c
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 3 Nov 2009 04:27:56 +0000 (14:57 +1030)
committerDave Jones <davej@redhat.com>
Tue, 24 Nov 2009 18:33:33 +0000 (13:33 -0500)
commitb8cbe7e82ec8b55d7bbdde66fc69e788fde00dc6
treefd08d231043934beea2ea16c0ad47bc25ae50f70
parentd77b81974521c82fa6fda38dfff1b491dcc62a32
[CPUFREQ] cpumask: don't put a cpumask on the stack in x86...cpufreq/powernow-k8.c

It's still mugging the current process's cpumask, but as comment in
1ff6e97f1d says, it's not a trivial fix.

So, at least we can use a cpumask_var_t to do the Wrong Thing the Right Way :)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
To: cpufreq@vger.kernel.org
Cc: Mark Langsdorf <mark.langsdorf@amd.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/powernow-k8.c