android_kernel_xiaomi_sm8350/drivers/edac
Emese Revfy 52cf25d0ab Driver core: Constify struct sysfs_ops in struct kobj_type
Constify struct sysfs_ops.

This is part of the ops structure constification
effort started by Arjan van de Ven et al.

Benefits of this constification:

 * prevents modification of data that is shared
   (referenced) by many other structure instances
   at runtime

 * detects/prevents accidental (but not intentional)
   modification attempts on archs that enforce
   read-only kernel data at runtime

 * potentially better optimized code as the compiler
   can assume that the const data cannot be changed

 * the compiler/linker move const data into .rodata
   and therefore exclude them from false sharing

Signed-off-by: Emese Revfy <re.emese@gmail.com>
Acked-by: David Teigland <teigland@redhat.com>
Acked-by: Matt Domsch <Matt_Domsch@dell.com>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Acked-by: Hans J. Koch <hjk@linutronix.de>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-07 17:04:49 -08:00
..
amd64_edac_dbg.c
amd64_edac_inj.c
amd64_edac.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp 2010-03-03 09:25:37 -08:00
amd64_edac.h amd64_edac: Simplify ECC override handling 2010-03-01 19:25:12 +01:00
amd76x_edac.c
amd8111_edac.c
amd8111_edac.h
amd8131_edac.c
amd8131_edac.h
cell_edac.c
cpc925_edac.c
e7xxx_edac.c
e752x_edac.c
edac_core.h edac: add memory types strings for debugging 2009-12-07 19:14:31 +01:00
edac_device_sysfs.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
edac_device.c
edac_mc_sysfs.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
edac_mc.c edac: add memory types strings for debugging 2009-12-07 19:14:31 +01:00
edac_mce_amd.c edac, mce, amd: silence GART TLB errors 2009-12-16 17:48:39 +01:00
edac_mce_amd.h
edac_module.c
edac_module.h
edac_pci_sysfs.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
edac_pci.c
edac_stub.c
i3000_edac.c
i3200_edac.c
i5000_edac.c edac: i5000_edac critical fix panic out of bounds 2010-01-16 12:15:38 -08:00
i5100_edac.c edac: i5100 add 6 ranks per channel 2009-12-16 07:20:12 -08:00
i5400_edac.c
i82443bxgx_edac.c
i82860_edac.c
i82875p_edac.c
i82975x_edac.c
Kconfig
Makefile
mpc85xx_edac.c edac: mpc85xx fix build regression by removing unused debug code 2010-02-11 13:59:42 -08:00
mpc85xx_edac.h
mv64x60_edac.c
mv64x60_edac.h
pasemi_edac.c
ppc4xx_edac.c
ppc4xx_edac.h
r82600_edac.c
x38_edac.c