diff options
author | Waiman Long <[email protected]> | 2016-11-17 11:46:38 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-11-21 10:29:01 +0100 |
commit | 194a6b5b9cb6b91a5f7d86984165a3bc55188599 (patch) | |
tree | e8ffaad27b9b42a7cdf6092afa01cd01f4b28687 /tools/lib/api/debug.c | |
parent | 6d0d287891a022ebba572327cbd70b5de69a63a2 (diff) |
sched/wake_q: Rename WAKE_Q to DEFINE_WAKE_Q
Currently the wake_q data structure is defined by the WAKE_Q() macro.
This macro, however, looks like a function doing something as "wake" is
a verb. Even checkpatch.pl was confused as it reported warnings like
WARNING: Missing a blank line after declarations
#548: FILE: kernel/futex.c:3665:
+ int ret;
+ WAKE_Q(wake_q);
This patch renames the WAKE_Q() macro to DEFINE_WAKE_Q() which clarifies
what the macro is doing and eliminates the checkpatch.pl warnings.
Signed-off-by: Waiman Long <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Resolved conflict and added missing rename. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions