summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_exch.c
diff options
context:
space:
mode:
authorRobert Love2009-11-03 20:45:58 +0100
committerJames Bottomley2009-12-04 19:00:55 +0100
commit8866a5d9075b7129194576f5f810e85a693c40ba (patch)
tree8976fd0009ab5870457ca0ecd7a246852744f00c /drivers/scsi/libfc/fc_exch.c
parent[SCSI] libfc: Remove fc_fcp_complete (diff)
downloadkernel-qcow2-linux-8866a5d9075b7129194576f5f810e85a693c40ba.tar.gz
kernel-qcow2-linux-8866a5d9075b7129194576f5f810e85a693c40ba.tar.xz
kernel-qcow2-linux-8866a5d9075b7129194576f5f810e85a693c40ba.zip
[SCSI] libfc: Add libfc/fc_libfc.[ch] for libfc internal routines
include/scsi/libfc.h is currently loaded with common code shared between libfc's sub-modules as well as shared between libfc and fcoe. Previous patches attempted to move out non-common code. This patch creates two files for common libfc routines that will not be shared with fcoe, fnic or any other LLDs. Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/libfc/fc_exch.c')
-rw-r--r--drivers/scsi/libfc/fc_exch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c
index 659bb05287f3..ee6031e24c14 100644
--- a/drivers/scsi/libfc/fc_exch.c
+++ b/drivers/scsi/libfc/fc_exch.c
@@ -32,6 +32,8 @@
#include <scsi/libfc.h>
#include <scsi/fc_encode.h>
+#include "fc_libfc.h"
+
u16 fc_cpu_mask; /* cpu mask for possible cpus */
EXPORT_SYMBOL(fc_cpu_mask);
static u16 fc_cpu_order; /* 2's power to represent total possible cpus */