Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295147
b: refs/heads/master
c: 7ccaba5
h: refs/heads/master
i:
  295145: 7c8f9a5
  295143: 10f8f60
v: v3
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Mar 23, 2012
1 parent 496e5d2 commit ad96cf2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 10db4e1e4e9a910a26b94045660e5ba7e7c71419
refs/heads/master: 7ccaba5314caf3a2b1052edb3146ccc969b4d466
6 changes: 3 additions & 3 deletions trunk/include/asm-generic/bug.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ extern void warn_slowpath_null(const char *file, const int line);
#endif

#define WARN_ON_ONCE(condition) ({ \
static bool __warned; \
static bool __section(.data.unlikely) __warned; \
int __ret_warn_once = !!(condition); \
\
if (unlikely(__ret_warn_once)) \
Expand All @@ -144,7 +144,7 @@ extern void warn_slowpath_null(const char *file, const int line);
})

#define WARN_ONCE(condition, format...) ({ \
static bool __warned; \
static bool __section(.data.unlikely) __warned; \
int __ret_warn_once = !!(condition); \
\
if (unlikely(__ret_warn_once)) \
Expand All @@ -154,7 +154,7 @@ extern void warn_slowpath_null(const char *file, const int line);
})

#define WARN_TAINT_ONCE(condition, taint, format...) ({ \
static bool __warned; \
static bool __section(.data.unlikely) __warned; \
int __ret_warn_once = !!(condition); \
\
if (unlikely(__ret_warn_once)) \
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-generic/vmlinux.lds.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
CPU_KEEP(exit.data) \
MEM_KEEP(init.data) \
MEM_KEEP(exit.data) \
*(.data.unlikely) \
STRUCT_ALIGN(); \
*(__tracepoints) \
/* implement dynamic printk debug */ \
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/rcupdate.h
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ extern int rcu_my_thread_group_empty(void);
*/
#define rcu_lockdep_assert(c, s) \
do { \
static bool __warned; \
static bool __section(.data.unlikely) __warned; \
if (debug_lockdep_rcu_enabled() && !__warned && !(c)) { \
__warned = true; \
lockdep_rcu_suspicious(__FILE__, __LINE__, s); \
Expand Down

0 comments on commit ad96cf2

Please sign in to comment.