android_kernel_xiaomi_sm8350/arch/ia64/sn/kernel
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
..
sn2 [PATCH] sn2: use static ->proc_fops 2007-02-11 10:51:34 -08:00
bte_error.c [IA64-SGI] Altix BTE error handling fixes 2006-01-13 14:06:53 -08:00
bte.c [IA64] bte_unaligned_copy() transfers one extra cache line. 2006-11-15 10:12:15 -08:00
huberror.c [IA64-SGI] Check for TIO errors on shub2 Altix 2007-02-05 14:27:54 -08:00
idle.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_acpi_init.c Altix: ACPI SSDT PCI device support 2007-02-02 22:14:35 -05:00
io_common.c Altix: ACPI SSDT PCI device support 2007-02-02 22:14:35 -05:00
io_init.c Altix: ACPI SSDT PCI device support 2007-02-02 22:14:35 -05:00
iomv.c ACPICA: reduce conflicts with Altix patch series 2007-02-02 22:14:22 -05:00
irq.c [IA64] SN: Correctly update smp_affinty mask 2006-12-07 10:50:09 -08:00
klconflib.c [IA64-SGI] sn2 housekeeping 2006-02-02 13:35:59 -08:00
machvec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Altix: Add initial ACPI IO support 2006-12-01 14:36:57 -08:00
mca.c [IA64] prevent sn2 specific code to be run in generic kernels 2006-02-08 11:57:16 -08:00
msi_sn.c msi: Make MSI useable more architectures 2007-02-07 15:50:08 -08:00
pio_phys.S [IA64-SGI] - Eliminate SN pio_phys_xxx macros. Move to assembly 2006-02-07 09:24:14 -08:00
setup.c [IA64] Do not call SN_SAL_SET_CPU_NUMBER twice on cpu 0 2006-12-12 10:09:39 -08:00
tiocx.c Altix: Add initial ACPI IO support 2006-12-01 14:36:57 -08:00
xp_main.c [IA64-SGI] sn2 mutex conversion 2006-01-17 13:53:24 -08:00
xp_nofault.S [IA64-SGI] SGI Altix cross partition functionality (2nd 2005-05-03 12:16:52 -07:00
xpc_channel.c [IA64] fix possible XPC deadlock when disconnecting 2006-12-12 11:48:53 -08:00
xpc_main.c [IA64] fix possible XPC deadlock when disconnecting 2006-12-12 11:48:53 -08:00
xpc_partition.c [IA64-SGI] Silent data corruption caused by XPC V2. 2006-08-08 13:28:52 -07:00
xpnet.c Attack of "the the"s in arch 2006-10-03 22:21:02 +02:00