mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
Revert r4500, it's wrong desicion
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4501 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3995,18 +3995,10 @@ static inline int cancel_delayed_work_sync(struct delayed_work *work)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef RHEL_RELEASE_VERSION
|
||||
#define RHEL_RELEASE_VERSION(maj, min) 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_LOCK_ALLOC
|
||||
extern struct lockdep_map scst_suspend_dep_map;
|
||||
#if !defined(RHEL_RELEASE_CODE) || (RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(6, 4))
|
||||
# define scst_assert_activity_suspended() \
|
||||
#define scst_assert_activity_suspended() \
|
||||
WARN_ON(debug_locks && !lock_is_held(&scst_suspend_dep_map));
|
||||
# else
|
||||
# define scst_assert_activity_suspended() do { } while (0)
|
||||
# endif
|
||||
#else
|
||||
#define scst_assert_activity_suspended() do { } while (0)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user