diff options
author | Robert Love <robert.w.love@intel.com> | 2009-03-17 14:41:35 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-03 10:22:57 -0400 |
commit | 5e5e92df49d4dfbef9ba981297c7f76d189376ac (patch) | |
tree | aab8a56ee9cf9721e2189e745aeb758ab58cddcc /include/scsi/libfcoe.h | |
parent | 38eccabd1067b93af0fedbf447ab846e7df1ca66 (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/libfcoe.h')
-rw-r--r-- | include/scsi/libfcoe.h | 1 |
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 | */ |
31 | struct fcoe_percpu_s { | 31 | struct 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; |