diff --git a/[refs] b/[refs] index 2b3748ca8a2f..171aae4e15a0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4f0e056fdebc15d3f4724ebc7bbf323158add1d7 +refs/heads/master: 2edf5e49800846a2b2b6461d99cdae18067c440f diff --git a/trunk/include/linux/lockdep.h b/trunk/include/linux/lockdep.h index 10206a87da19..a03977a96d7e 100644 --- a/trunk/include/linux/lockdep.h +++ b/trunk/include/linux/lockdep.h @@ -12,6 +12,10 @@ struct task_struct; struct lockdep_map; +/* for sysctl */ +extern int prove_locking; +extern int lock_stat; + #ifdef CONFIG_LOCKDEP #include diff --git a/trunk/kernel/sysctl.c b/trunk/kernel/sysctl.c index 622029ba5103..8686b0f5fc12 100644 --- a/trunk/kernel/sysctl.c +++ b/trunk/kernel/sysctl.c @@ -67,6 +67,9 @@ #ifdef CONFIG_RT_MUTEXES #include #endif +#if defined(CONFIG_PROVE_LOCKING) || defined(CONFIG_LOCK_STAT) +#include +#endif #ifdef CONFIG_CHR_DEV_SG #include #endif @@ -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[] = {