]> git.baikalelectronics.ru Git - kernel.git/commit
cpu hotplug: slab: cleanup cpuup_callback()
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 18 Oct 2007 10:05:09 +0000 (03:05 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:21 +0000 (14:37 -0700)
commit92583e42cbc4103194a403238e6ecc94bddee787
tree179a7844c0c7722c3fa61d0787845db3c225df4d
parentca0b872d476cc378a8859f9ee8b41ae534f44470
cpu hotplug: slab: cleanup cpuup_callback()

cpuup_callback() is too long.  This patch factors out CPU_UP_CANCELLED and
CPU_UP_PREPARE handlings from cpuup_callback().

Cc: Christoph Lameter <clameter@sgi.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slab.c