[SCSI] fcoe: Use percpu kernel funcs for struct fcoe_percpu_s
authorRobert Love <robert.w.love@intel.com>
Tue, 17 Mar 2009 18:41:35 +0000 (11:41 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 3 Apr 2009 14:22:57 +0000 (09:22 -0500)
commit5e5e92df49d4dfbef9ba981297c7f76d189376ac
treeaab8a56ee9cf9721e2189e745aeb758ab58cddcc
parent38eccabd1067b93af0fedbf447ab846e7df1ca66
[SCSI] fcoe: Use percpu kernel funcs for struct fcoe_percpu_s

Convert fcoe_percpu array to use the per-cpu variables
that the kernel provides. Use the kernel's functions to
access this structure.

The cpu member of the fcoe_percpu_s is no longer needed,
so this patch removes it too.

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/libfcoe.c
include/scsi/libfcoe.h