mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 14:16:31 +00:00
scst/include/scst.h: Define lockdep_assert_held() only once (follow-up for r5693)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5697 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -79,10 +79,6 @@ typedef _Bool bool;
|
||||
#define __aligned __attribute__((aligned))
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32)
|
||||
#define lockdep_assert_held(l) do { (void)(l); } while (0)
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
|
||||
char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user