Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333704
b: refs/heads/master
c: 462e1e1
h: refs/heads/master
v: v3
  • Loading branch information
Lai Jiangshan authored and Al Viro committed Oct 10, 2012
1 parent 7320a5e commit 7eb5d44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 614c321f4bf130766ff66fd142b1da47ab037303
refs/heads/master: 462e1e1bc879d10d7c2ce96a1b1001edaaa815ba
9 changes: 0 additions & 9 deletions trunk/include/linux/lglock.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,8 @@

#ifdef CONFIG_DEBUG_LOCK_ALLOC
#define LOCKDEP_INIT_MAP lockdep_init_map

#define DEFINE_LGLOCK_LOCKDEP(name) \
struct lock_class_key name##_lock_key; \
struct lockdep_map name##_lock_dep_map; \
EXPORT_SYMBOL(name##_lock_dep_map)

#else
#define LOCKDEP_INIT_MAP(a, b, c, d)

#define DEFINE_LGLOCK_LOCKDEP(name)
#endif

struct lglock {
Expand All @@ -57,7 +49,6 @@ struct lglock {
};

#define DEFINE_LGLOCK(name) \
DEFINE_LGLOCK_LOCKDEP(name); \
DEFINE_PER_CPU(arch_spinlock_t, name ## _lock) \
= __ARCH_SPIN_LOCK_UNLOCKED; \
struct lglock name = { .lock = &name ## _lock }
Expand Down

0 comments on commit 7eb5d44

Please sign in to comment.