percpu: fix percpu accessors to potentially !cpu_possible() cpus: pnpbios
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)
commit6aaa8ce523c7ce954b81b8c0b3e32c8be599af8d
tree9d0ac33fb20cab7b1a7503b94889d70d69700c84
parente9690a6e4b1615cb0102e425e04b7ce29e7858e2
percpu: fix percpu accessors to potentially !cpu_possible() cpus: pnpbios

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>
Cc: Adam Belay <ambx1@neo.rr.com>
drivers/pnp/pnpbios/bioscalls.c