[SCSI] fcoe: Use per-CPU kernel function for dev_stats instead of an array
authorRobert Love <robert.w.love@intel.com>
Tue, 31 Mar 2009 22:51:50 +0000 (15:51 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 3 Apr 2009 14:22:58 +0000 (09:22 -0500)
commit582b45bc577f78b5bfff3db874594ce2d962b846
treeb0cfe95b235aeca9b967cba8446db58b8a102533
parent5e5e92df49d4dfbef9ba981297c7f76d189376ac
[SCSI] fcoe: Use per-CPU kernel function for dev_stats instead of an array

Remove the hotplug creation of dev_stats, we allocate for all possible CPUs
now when we allocate the lport.

v2: Durring the 2.6.30 merge window, before these patches were comitted,
'percpu_ptr' was renamed 'per_cpu_ptr'. This latest update updates this
patch for the name change.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/fcoe/fcoe_sw.c
drivers/scsi/fcoe/libfcoe.c
drivers/scsi/libfc/fc_fcp.c
drivers/scsi/libfc/fc_lport.c
include/scsi/libfc.h
This page took 0.026133 seconds and 5 git commands to generate.