]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sound: use non-racy method for /proc/driver/snd-page-alloc creation
authorDenis V. Lunev <den@openvz.org>
Tue, 29 Apr 2008 08:02:13 +0000 (01:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:20 +0000 (08:06 -0700)
commit7bf4e6d3e948e38893c718fa9c5bd0dfbfa49670
treef7bec9aa61e1d118cb7b53c24a10172a7be042d9
parent3d71f86f4dfccd749e4421f10301f3f3b31da88a
sound: use non-racy method for /proc/driver/snd-page-alloc creation

Use proc_create() to make sure that ->proc_fops 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: Jaroslav Kysela <perex@suse.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/core/memalloc.c