From: Adrian Bunk Signed-off-by: Adrian Bunk Acked-by: Peter Zijlstra Signed-off-by: Andrew Morton --- kernel/lockdep_proc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN kernel/lockdep_proc.c~lockstat-human-readability-tweaks-fix kernel/lockdep_proc.c --- a/kernel/lockdep_proc.c~lockstat-human-readability-tweaks-fix +++ a/kernel/lockdep_proc.c @@ -364,7 +364,7 @@ struct lock_stat_seq { /* * sort on absolute number of contentions */ -int lock_stat_cmp(const void *l, const void *r) +static int lock_stat_cmp(const void *l, const void *r) { const struct lock_stat_data *dl = l, *dr = r; unsigned long nl, nr; @@ -567,8 +567,8 @@ static int lock_stat_open(struct inode * return res; } -ssize_t lock_stat_write(struct file *file, const char __user *buf, - size_t count, loff_t *ppos) +static ssize_t lock_stat_write(struct file *file, const char __user *buf, + size_t count, loff_t *ppos) { struct lock_class *class; char c; _