~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to include/linux/rcutiny.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
}
133
133
#endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */
134
134
 
 
135
#if defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_RCU_TRACE)
 
136
 
 
137
static inline bool rcu_is_watching(void)
 
138
{
 
139
        return __rcu_is_watching();
 
140
}
 
141
 
 
142
#else /* defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_RCU_TRACE) */
 
143
 
 
144
static inline bool rcu_is_watching(void)
 
145
{
 
146
        return true;
 
147
}
 
148
 
 
149
 
 
150
#endif /* #else defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_RCU_TRACE) */
 
151
 
135
152
#endif /* __LINUX_RCUTINY_H */