Last change
on this file since 439 was 439, checked in by Paul Smedley, 16 years ago |
Add lockdep.h to the repository
|
File size:
522 bytes
|
Line | |
---|
1 | #ifndef __LINUX_LOCKDEP_H
|
---|
2 | #define __LINUX_LOCKDEP_H
|
---|
3 | /*
|
---|
4 | * lockdep macros
|
---|
5 | */
|
---|
6 | #define lockdep_set_class(lock, key) do { (void)(key); } while (0)
|
---|
7 | #define down_read_nested(sem, subclass) down_read(sem)
|
---|
8 | #define down_write_nested(sem, subclass) down_write(sem)
|
---|
9 | #define down_read_non_owner(sem) down_read(sem)
|
---|
10 | #define up_read_non_owner(sem) up_read(sem)
|
---|
11 | #define spin_lock_nested(lock, x) spin_lock(lock)
|
---|
12 | #define spin_lock_irqsave_nested(lock, f, x) spin_lock_irqsave(lock, f)
|
---|
13 |
|
---|
14 | #endif /* __LINUX_LOCKDEP_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.