From: Shaohua Li Date: Sat, 25 Jun 2005 21:55:15 +0000 (-0700) Subject: [PATCH] CPU hotplug printk fix X-Git-Tag: v2.6.13-rc1~68^2~187 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac25575203c11145066ea5cb583354cb5f0a8ade;p=pandora-kernel.git [PATCH] CPU hotplug printk fix In the cpu hotplug case, per-cpu data possibly isn't initialized even the system state is 'running'. As the comments say in the original code, some console drivers assume per-cpu resources have been allocated. radeon fb is one such driver, which uses kmalloc. After a CPU is down, the per-cpu data of slab is freed, so the system crashed when printing some info. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed