summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/include/linux/lockdep.h
blob: 319b8c86b1abfdf336e0a7eaa918184cf33ebb01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Public domain. */

#ifndef _LINUX_LOCKDEP_H
#define _LINUX_LOCKDEP_H

struct lock_class_key {
};

struct pin_cookie {
};

#define might_lock(lock)
#define might_lock_nested(lock, subc)
#define lockdep_assert_held(lock)	do { (void)(lock); } while(0)
#define lockdep_assert_held_once(lock)	do { (void)(lock); } while(0)
#define lock_acquire(lock, a, b, c, d, e, f)
#define lock_release(lock, a)
#define lock_acquire_shared_recursive(lock, a, b, c, d)
#define lockdep_set_subclass(a, b)
#define lockdep_unpin_lock(a, b)
#define lockdep_set_class(a, b)
#define lockdep_init_map(a, b, c, d)
#define lockdep_set_class_and_name(a, b, c)

#define mutex_acquire(a, b, c, d)
#define mutex_release(a, b)

#define SINGLE_DEPTH_NESTING		0

#define lockdep_pin_lock(lock)		\
({					\
	struct pin_cookie pc = {};	\
	pc;				\
})

#endif