diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-07-24 13:52:57 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-27 04:51:24 +0300 |
commit | 2c2b66ae9d11d99f5f6d7010f0d46401ed9031ce (patch) | |
tree | 81006e8c015ad3cad981e93b916876186a404a3b /scripts/Makefile.headersinst | |
parent | 8addebc14a322fa8ca67cd57c6038069acde8ddc (diff) | |
download | linux-2c2b66ae9d11d99f5f6d7010f0d46401ed9031ce.tar.xz |
scsi: bnx2fc: Prevent recursive cpuhotplug locking
The BNX2FC module init/exit code installs/removes the hotplug callbacks with
the cpu hotplug lock held. This worked with the old CPU locking
implementation which allowed recursive locking, but with the new percpu
rwsem based mechanism this is not longer allowed.
Use the _cpuslocked() variants to fix this.
Reported-by: kernel test robot <fengguang.wu@intel.com>
Acked-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/Makefile.headersinst')
0 files changed, 0 insertions, 0 deletions