]> Git Repo - linux.git/commit - kernel/futex.c
sched/wake_q: Rename WAKE_Q to DEFINE_WAKE_Q
authorWaiman Long <[email protected]>
Thu, 17 Nov 2016 16:46:38 +0000 (11:46 -0500)
committerIngo Molnar <[email protected]>
Mon, 21 Nov 2016 09:29:01 +0000 (10:29 +0100)
commit194a6b5b9cb6b91a5f7d86984165a3bc55188599
treee8ffaad27b9b42a7cdf6092afa01cd01f4b28687
parent6d0d287891a022ebba572327cbd70b5de69a63a2
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]>
include/linux/sched.h
ipc/mqueue.c
ipc/msg.c
kernel/futex.c
kernel/locking/mutex.c
kernel/locking/rtmutex.c
kernel/locking/rwsem-xadd.c
This page took 0.061754 seconds and 4 git commands to generate.