aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2009-03-17 14:41:35 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 10:22:57 -0400
commit5e5e92df49d4dfbef9ba981297c7f76d189376ac (patch)
treeaab8a56ee9cf9721e2189e745aeb758ab58cddcc /include/scsi
parent38eccabd1067b93af0fedbf447ab846e7df1ca66 (diff)
[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>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/libfcoe.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h
index 124dc5bd9f87..1ad4f93d5548 100644
--- a/include/scsi/libfcoe.h
+++ b/include/scsi/libfcoe.h
@@ -29,7 +29,6 @@
29 * this percpu struct for fcoe 29 * this percpu struct for fcoe
30 */ 30 */
31struct fcoe_percpu_s { 31struct fcoe_percpu_s {
32 unsigned int cpu;
33 struct task_struct *thread; 32 struct task_struct *thread;
34 struct sk_buff_head fcoe_rx_list; 33 struct sk_buff_head fcoe_rx_list;
35 struct page *crc_eof_page; 34 struct page *crc_eof_page;