tmp_suning_uos_patched/drivers/uio
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
..
Kconfig uio: add generic driver for PCI 2.3 devices 2009-09-15 09:50:48 -07:00
Makefile uio: add generic driver for PCI 2.3 devices 2009-09-15 09:50:48 -07:00
uio_aec.c uio: add the uio_aec driver 2009-03-24 16:38:24 -07:00
uio_cif.c UIO: fix specific device driver missing statement for depmod 2009-04-16 16:17:11 -07:00
uio_pci_generic.c uio: add generic driver for PCI 2.3 devices 2009-09-15 09:50:48 -07:00
uio_pdrv_genirq.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
uio_pdrv.c UIO: Change driver name of uio_pdrv 2008-10-16 09:24:53 -07:00
uio_sercos3.c UIO: add automata sercos3 pci card support 2008-10-16 09:24:53 -07:00
uio_smx.c UIO: Implement a UIO interface for the SMX Cryptengine 2008-04-19 19:10:18 -07:00
uio.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00