diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-08-11 04:30:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-11 04:30:30 -0400 |
commit | 3295f0ef9ff048a4619ede597ad9ec9cab725654 (patch) | |
tree | f39a8ecf1958130a0b86c554399d23a65b1c3991 /include/linux | |
parent | 8bfe0298f7a04952d19f4a2cf510d7a6311eeed0 (diff) |
lockdep: rename map_[acquire|release]() => lock_map_[acquire|release]()
the names were too generic:
drivers/uio/uio.c:87: error: expected identifier or '(' before 'do'
drivers/uio/uio.c:87: error: expected identifier or '(' before 'while'
drivers/uio/uio.c:113: error: 'map_release' undeclared here (not in a function)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/lockdep.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index 4452c04a7f6e..67f42b300c65 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h | |||
@@ -465,14 +465,14 @@ static inline void print_irqtrace_events(struct task_struct *curr) | |||
465 | 465 | ||
466 | #ifdef CONFIG_DEBUG_LOCK_ALLOC | 466 | #ifdef CONFIG_DEBUG_LOCK_ALLOC |
467 | # ifdef CONFIG_PROVE_LOCKING | 467 | # ifdef CONFIG_PROVE_LOCKING |
468 | # define map_acquire(l) lock_acquire(l, 0, 0, 0, 2, NULL, _THIS_IP_) | 468 | # define lock_map_acquire(l) lock_acquire(l, 0, 0, 0, 2, NULL, _THIS_IP_) |
469 | # else | 469 | # else |
470 | # define map_acquire(l) lock_acquire(l, 0, 0, 0, 1, NULL, _THIS_IP_) | 470 | # define lock_map_acquire(l) lock_acquire(l, 0, 0, 0, 1, NULL, _THIS_IP_) |
471 | # endif | 471 | # endif |
472 | # define map_release(l) lock_release(l, 1, _THIS_IP_) | 472 | # define lock_map_release(l) lock_release(l, 1, _THIS_IP_) |
473 | #else | 473 | #else |
474 | # define map_acquire(l) do { } while (0) | 474 | # define lock_map_acquire(l) do { } while (0) |
475 | # define map_release(l) do { } while (0) | 475 | # define lock_map_release(l) do { } while (0) |
476 | #endif | 476 | #endif |
477 | 477 | ||
478 | #endif /* __LINUX_LOCKDEP_H */ | 478 | #endif /* __LINUX_LOCKDEP_H */ |