mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
scst_local: Rearranged a preprocessor directive such that generate-kernel-patch can expand it.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3493 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1116,14 +1116,15 @@ static int scst_local_queuecommand_lck(struct scsi_cmnd *SCpnt,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37) && \
|
||||
!defined(CONFIG_SCST_LOCAL_FORCE_DIRECT_PROCESSING)
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
|
||||
#if !defined(CONFIG_SCST_LOCAL_FORCE_DIRECT_PROCESSING)
|
||||
/*
|
||||
* See comment in scst_local_queuecommand_lck() near
|
||||
* CONFIG_SCST_LOCAL_FORCE_DIRECT_PROCESSING
|
||||
*/
|
||||
static DEF_SCSI_QCMD(scst_local_queuecommand)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static int scst_local_targ_pre_exec(struct scst_cmd *scst_cmd)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user