percpu: fix percpu accessors to potentially !cpu_possible() cpus: m32r
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:14 +0000 (10:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:14 +0000 (10:12 +1030)
commit9e2f913df70b378379a358a44e7d286f7b765e8e
treec97316a74bd62fc6829581d9ea9a78e06529d8ac
parent6aaa8ce523c7ce954b81b8c0b3e32c8be599af8d
percpu: fix percpu accessors to potentially !cpu_possible() cpus: m32r

Impact: CPU iterator bugfixes

Percpu areas are only allocated for possible cpus.  In general, you
shouldn't access random cpu's percpu areas.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Hirokazu Takata <takata@linux-m32r.org>
arch/m32r/kernel/smpboot.c