diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-07-24 12:52:59 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-26 21:51:25 -0400 |
commit | 1937f8a29f4a650bc27e0311b43b53509a34fd22 (patch) | |
tree | ae0ec315d5959295822e98f8fe8238c91f144c34 /drivers/md | |
parent | 2fa2fa1ae6b42fc4c4995fdbf8fd7df96bb25ba4 (diff) |
scsi: bnx2fc: Simplify CPU hotplug code
The CPU hotplug related code of this driver can be simplified by:
1) Consolidating the callbacks into a single state. The CPU thread can be
torn down on the CPU which goes offline. There is no point in delaying
that to the CPU dead state
2) Let the core code invoke the online/offline callbacks and remove the
extra for_each_online_cpu() loops.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions