Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42868
b: refs/heads/master
c: ebe7e5f
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Dec 7, 2006
1 parent 27e2111 commit 6a7db6d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 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: 1f370a23f2a3101886953add4bd7f529e3bba016
refs/heads/master: ebe7e5fe4b41deeb2731c5b52d8c8e6ac08b1f74
6 changes: 0 additions & 6 deletions trunk/include/linux/lockdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ extern void lockdep_free_key_range(void *start, unsigned long size);

extern void lockdep_off(void);
extern void lockdep_on(void);
extern int lockdep_internal(void);

/*
* These methods are used by specific locking variants (spinlocks,
Expand Down Expand Up @@ -255,11 +254,6 @@ static inline void lockdep_on(void)
{
}

static inline int lockdep_internal(void)
{
return 0;
}

# define lock_acquire(l, s, t, r, c, i) do { } while (0)
# define lock_release(l, n, i) do { } while (0)
# define lockdep_init() do { } while (0)
Expand Down
7 changes: 0 additions & 7 deletions trunk/kernel/lockdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,6 @@ void lockdep_on(void)

EXPORT_SYMBOL(lockdep_on);

int lockdep_internal(void)
{
return current->lockdep_recursion != 0;
}

EXPORT_SYMBOL(lockdep_internal);

/*
* Debugging switches:
*/
Expand Down

0 comments on commit 6a7db6d

Please sign in to comment.