Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187319
b: refs/heads/master
c: 2edf5e4
h: refs/heads/master
i:
  187317: 56bc763
  187315: d8b5d39
  187311: d66bd0d
v: v3
  • Loading branch information
Dave Young authored and Linus Torvalds committed Mar 12, 2010
1 parent a2d69b7 commit a331866
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 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: 4f0e056fdebc15d3f4724ebc7bbf323158add1d7
refs/heads/master: 2edf5e49800846a2b2b6461d99cdae18067c440f
4 changes: 4 additions & 0 deletions trunk/include/linux/lockdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
struct task_struct;
struct lockdep_map;

/* for sysctl */
extern int prove_locking;
extern int lock_stat;

#ifdef CONFIG_LOCKDEP

#include <linux/linkage.h>
Expand Down
6 changes: 3 additions & 3 deletions trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
#ifdef CONFIG_RT_MUTEXES
#include <linux/rtmutex.h>
#endif
#if defined(CONFIG_PROVE_LOCKING) || defined(CONFIG_LOCK_STAT)
#include <linux/lockdep.h>
#endif
#ifdef CONFIG_CHR_DEV_SG
#include <scsi/sg.h>
#endif
Expand Down Expand Up @@ -191,9 +194,6 @@ extern struct ctl_table epoll_table[];
int sysctl_legacy_va_layout;
#endif

extern int prove_locking;
extern int lock_stat;

/* The default sysctl tables: */

static struct ctl_table root_table[] = {
Expand Down

0 comments on commit a331866

Please sign in to comment.