]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
workqueue: use __cpuinit instead of __devinit for cpu callbacks
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 18 Sep 2012 16:59:23 +0000 (09:59 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 18 Sep 2012 16:59:23 +0000 (09:59 -0700)
commit9fdf9b73d61c87a9c16f101bb8bbe069d13046f5
tree5b77daceffec6c330f66ac13a1687a986344c817
parentb2eb83d123c1cc9f96a8e452b26a6ebe631b3ad7
workqueue: use __cpuinit instead of __devinit for cpu callbacks

For workqueue hotplug callbacks, it makes less sense to use __devinit
which discards the memory after boot if !HOTPLUG.  __cpuinit, which
discards the memory after boot if !HOTPLUG_CPU fits better.

tj: Updated description.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c