diff options
author | Peter Zijlstra <[email protected]> | 2009-08-10 12:33:05 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-08-10 14:43:09 +0200 |
commit | 2fc391112fb6f3424435a3aa2fda887497b5f807 (patch) | |
tree | 89cda7002d591807536dca68b6344a558b081428 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | beda2c7ea2c15ed01eef00a997d2b0496c3a502d (diff) |
locking, sched: Give waitqueue spinlocks their own lockdep classes
Give waitqueue spinlocks their own lockdep classes when they
are initialised from init_waitqueue_head(). This means that
struct wait_queue::func functions can operate other waitqueues.
This is used by CacheFiles to catch the page from a backing fs
being unlocked and to wake up another thread to take a copy of
it.
Signed-off-by: Peter Zijlstra <[email protected]>
Signed-off-by: David Howells <[email protected]>
Tested-by: Takashi Iwai <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions