linux/arch
Alexey Dobriyan 85cc9b1144 [PATCH] sn2: use static ->proc_fops
fix-rmmod-read-write-races-in-proc-entries.patch doesn't want dynamically
allocated ->proc_fops, because it will set it to NULL at module unload time.

Regardless of module status, switch to statically allocated ->proc_fops which
leads to simpler code without wrappers.

AFAICS, also fix the following bug: "sn_force_interrupt" proc entry set
->write for itself, but was created with 0444 permissions. Change to 0644.

Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 10:51:34 -08:00
..
alpha [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
arm [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
arm26 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
avr32 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
cris [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
frv [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
h8300 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
i386 [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
ia64 [PATCH] sn2: use static ->proc_fops 2007-02-11 10:51:34 -08:00
m32r [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
m68k [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
m68knommu [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
mips [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
parisc [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
powerpc [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
ppc [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
s390 [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
sh [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
sh64 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
sparc [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
sparc64 [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
um [PATCH] proc: remove useless (and buggy) ->nlink settings 2007-02-11 10:51:32 -08:00
v850 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
x86_64 [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
xtensa [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00