linux/arch
Denis V. Lunev 667471386d powerpc: 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.

Add correct ->owner to proc_fops to fix reading/module unloading race.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-29 08:06:22 -07:00
..
alpha iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
arm arm: use non-racy method for /proc/davinci_clocks creation 2008-04-29 08:06:21 -07:00
avr32 avr32: proc: use non-racy method for /proc/tlb creation 2008-04-29 08:06:21 -07:00
blackfin Remove the macro get_personality 2008-04-29 08:06:02 -07:00
cris cris: use non-racy method for /proc/system_profile creation 2008-04-29 08:06:21 -07:00
frv Remove the macro get_personality 2008-04-29 08:06:02 -07:00
h8300 Generic semaphore implementation 2008-04-17 10:42:34 -04:00
ia64 ia64: use non-racy method for proc entries creation 2008-04-29 08:06:21 -07:00
m32r Generic semaphore implementation 2008-04-17 10:42:34 -04:00
m68k proc: remove /proc/mac_iop 2008-04-29 08:06:19 -07:00
m68knommu Generic semaphore implementation 2008-04-17 10:42:34 -04:00
mips proc: switch /proc/excite/unit_id to seq_file interface 2008-04-29 08:06:19 -07:00
mn10300 iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
parisc parisc: use non-racy method for /proc/pcxl_dma creation 2008-04-29 08:06:21 -07:00
powerpc powerpc: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
ppc proper extern for late_time_init 2008-04-29 08:06:03 -07:00
s390 proper __do_softirq() prototype 2008-04-29 08:06:02 -07:00
sh proper __do_softirq() prototype 2008-04-29 08:06:02 -07:00
sparc iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
sparc64 iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
um proc: remove proc_root from drivers 2008-04-29 08:06:18 -07:00
v850 iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
x86 proc: remove proc_root from drivers 2008-04-29 08:06:18 -07:00
xtensa Generic semaphore implementation 2008-04-17 10:42:34 -04:00
.gitignore
Kconfig dma: add dma_*map*_attrs() interfaces 2008-04-29 08:06:11 -07:00