diff options
Diffstat (limited to 'kernel/lockdep_proc.c')
-rw-r--r-- | kernel/lockdep_proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/lockdep_proc.c b/kernel/lockdep_proc.c index ec33c6ad58dd..d4b3dbc79fdb 100644 --- a/kernel/lockdep_proc.c +++ b/kernel/lockdep_proc.c | |||
@@ -680,7 +680,8 @@ static int __init lockdep_proc_init(void) | |||
680 | &proc_lockdep_stats_operations); | 680 | &proc_lockdep_stats_operations); |
681 | 681 | ||
682 | #ifdef CONFIG_LOCK_STAT | 682 | #ifdef CONFIG_LOCK_STAT |
683 | proc_create("lock_stat", S_IRUSR, NULL, &proc_lock_stat_operations); | 683 | proc_create("lock_stat", S_IRUSR | S_IWUSR, NULL, |
684 | &proc_lock_stat_operations); | ||
684 | #endif | 685 | #endif |
685 | 686 | ||
686 | return 0; | 687 | return 0; |