]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ehca: Misc cpuinit section annotations and #ifdef cleanups
authorSatyam Sharma <satyam@infradead.org>
Wed, 22 Aug 2007 23:28:30 +0000 (04:58 +0530)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:14 +0000 (19:59 -0700)
commit9faa559c01311281f26544291322252327b65922
tree581afde6756cf617baffdbdf3b459a2c2e8ecbcd
parentea98054fefa28b646c740baffe83c2962f8228f6
IB/ehca: Misc cpuinit section annotations and #ifdef cleanups

* Replace {un}register_cpu_notifier with {un}register_hotcpu_notifier
  thereby losing a couple of #ifdef HOTPLUG_CPU pairs.
* Move comp_pool_callback_nb declaration to below that of callback
  function so that initialization of .notifier_call and .priority can
  occur at build time itself and not runtime.
* Mark the notifier_block (and callback function, and another static
  function used by it) as __cpuinit{data} for the sake of consistency
  and remove enclosing #ifdef. (This may increase size for modular
  build of this module, however, because these are no longer dropped
  unconditionally now.)

Signed-off-by: Satyam Sharma <satyam@infradead.org>
Acked-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_irq.c