From: Heiko Carstens Date: Sun, 25 Jun 2006 12:49:10 +0000 (-0700) Subject: [PATCH] cpu hotplug: fix CPU_UP_CANCEL handling X-Git-Tag: v2.6.18-rc1~895 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc75cdfa5b43ac4d3232b490800cd35063adafd3;p=pandora-kernel.git [PATCH] cpu hotplug: fix CPU_UP_CANCEL handling If a cpu hotplug callback fails on CPU_UP_PREPARE, all callbacks will be called with CPU_UP_CANCELED. A few of these callbacks assume that on CPU_UP_PREPARE a pointer to task has been stored in a percpu array. This assumption is not true if CPU_UP_PREPARE fails and the following calls to kthread_bind() in CPU_UP_CANCELED will cause an addressing exception because of passing a NULL pointer. Signed-off-by: Heiko Carstens Cc: Ashok Raj Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed