Use compat_rw_semaphore when using the real-time preemption patches.
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
* 2) any new operations do not execute until the currently
* running branch management operation completes
*/
+#ifdef CONFIG_PREEMPT_RT
+ struct compat_rw_semaphore rwsem;
+#else /* not CONFIG_PREEMPT_RT */
struct rw_semaphore rwsem;
+#endif /* not CONFIG_PREEMPT_RT */
int high_branch_id; /* last unique branch ID given */
struct unionfs_data *data;
};