android_kernel_xiaomi_sm8350/arch/ia64/sn/kernel/sn2
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
..
cache.c
io.c
Makefile
prominfo_proc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ptc_deadlock.S
sn2_smp.c
sn_hwperf.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sn_proc_fs.c [PATCH] sn2: use static ->proc_fops 2007-02-11 10:51:34 -08:00
timer_interrupt.c [IA64] Fix breakage from irq change 2006-10-06 10:09:41 -07:00
timer.c