summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-11 16:31:29 +1030
committerIngo Molnar <mingo@elte.hu>2009-03-18 13:51:45 +0100
commit89bd55d1855f8e9a4e9add8e93f3144d049c469e (patch)
treed9ef2d2b6150f03a1da240e5ce23dc25beac4e8e /arch/x86/mm
parent4bae1967357bfc78a2fad1be5e81a4b868980ae6 (diff)
downloadblackbird-op-linux-89bd55d1855f8e9a4e9add8e93f3144d049c469e.tar.gz
blackbird-op-linux-89bd55d1855f8e9a4e9add8e93f3144d049c469e.zip
x86: cpumask: update 32-bit APM not to mug current->cpus_allowed
Impact: cleanup, avoid cpumask games The APM code wants to run on CPU 0: we create an "on_cpu0" wrapper which uses work_on_cpu() if we're not already on cpu 0. This introduces a new failure mode: -ENOMEM, so we add an explicit err arg and handle Linux-style errnos in apm_err(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Stephen Rothwell <sfr@canb.auug.org.au> LKML-Reference: <200903111631.29787.rusty@rustcorp.com.au> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud