]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/kernel/common/linux/lockdep.h
Initial Contribution
[android-sdk/platform-bionic.git] / libc / kernel / common / linux / lockdep.h
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ****************************************************************************
11  ****************************************************************************/
12 #ifndef __LINUX_LOCKDEP_H
13 #define __LINUX_LOCKDEP_H
15 #include <linux/linkage.h>
16 #include <linux/list.h>
17 #include <linux/debug_locks.h>
18 #include <linux/stacktrace.h>
20 #define lock_acquire(l, s, t, r, c, i) do { } while (0)
21 #define lock_release(l, n, i) do { } while (0)
22 #define lockdep_init() do { } while (0)
23 #define lockdep_info() do { } while (0)
24 #define lockdep_init_map(lock, name, key) do { (void)(key); } while (0)
25 #define lockdep_set_class(lock, key) do { (void)(key); } while (0)
26 #define lockdep_set_class_and_name(lock, key, name)   do { (void)(key); } while (0)
27 #define INIT_LOCKDEP
28 #define lockdep_reset() do { debug_locks = 1; } while (0)
29 #define lockdep_free_key_range(start, size) do { } while (0)
31 #define early_init_irq_lock_class() do { } while (0)
33 #define early_boot_irqs_off() do { } while (0)
34 #define early_boot_irqs_on() do { } while (0)
36 #define SINGLE_DEPTH_NESTING 1
38 #define spin_acquire(l, s, t, i) do { } while (0)
39 #define spin_release(l, n, i) do { } while (0)
41 #define rwlock_acquire(l, s, t, i) do { } while (0)
42 #define rwlock_acquire_read(l, s, t, i) do { } while (0)
43 #define rwlock_release(l, n, i) do { } while (0)
45 #define mutex_acquire(l, s, t, i) do { } while (0)
46 #define mutex_release(l, n, i) do { } while (0)
48 #define rwsem_acquire(l, s, t, i) do { } while (0)
49 #define rwsem_acquire_read(l, s, t, i) do { } while (0)
50 #define rwsem_release(l, n, i) do { } while (0)
52 #endif