mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 11:41:26 +00:00
Patch from Dotan Barak <dotanba@gmail.com> (applied manually):
Fix compilation failure in kernel 2.6.19 and below (bug.h was added only stafrting kernel 2.6.20). Signed-off-by: Dotan Barak <dotanba@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@406 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -21,7 +21,10 @@
|
||||
#define __SCST_DEBUG_H
|
||||
|
||||
#include <linux/autoconf.h> /* for CONFIG_* */
|
||||
|
||||
#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 19)
|
||||
#include <linux/bug.h> /* for WARN_ON_ONCE */
|
||||
#endif
|
||||
|
||||
#if !defined(EXTRACHECKS) && defined(CONFIG_SCSI_TARGET_EXTRACHECKS)
|
||||
#define EXTRACHECKS
|
||||
|
||||
Reference in New Issue
Block a user