From cf131e0d20f2e63bee23b7d06c188ffd5eb18e2c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 1 Jun 2011 06:39:49 +0000 Subject: [PATCH] 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 --- scst_local/scst_local.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index 7615556e3..e46eff42a 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -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) {