]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kernel: use non-racy method for proc entries creation
authorDenis V. Lunev <den@openvz.org>
Tue, 29 Apr 2008 08:02:31 +0000 (01:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:22 +0000 (08:06 -0700)
commitc33fff0afbef4f0467c99e3f47ee7e98ae78c77e
treed6b5f8dc77aa21de95bbca76c6be6056026cc1d8
parentac41cfd19bf77424519b962f8205ede51fceaac6
kernel: use non-racy method for proc entries creation

Use proc_create()/proc_create_data() to make sure that ->proc_fops and ->data
be setup before gluing PDE to main tree.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/configs.c
kernel/dma.c
kernel/kallsyms.c
kernel/latencytop.c
kernel/lockdep_proc.c
kernel/profile.c
kernel/resource.c
kernel/sched_debug.c
kernel/time/timer_list.c
kernel/time/timer_stats.c