tmp_suning_uos_patched/drivers/dma
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
..
ioat Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
ipu Merge branch 'coh' into dmaengine 2010-03-03 21:22:21 -07:00
ppc4xx dma: make Open Firmware device id constant 2010-02-02 23:41:06 -07:00
at_hdmac_regs.h at_hdmac: implement a private tx_list 2009-09-08 17:53:03 -07:00
at_hdmac.c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2009-12-30 13:46:29 -08:00
coh901318_lli.c DMAENGINE: COH 901 318 lli sg offset fix 2010-03-02 14:17:46 -07:00
coh901318_lli.h Add COH 901 318 DMA block driver v5 2009-11-19 23:45:19 -07:00
coh901318.c DMAENGINE: COH 901 318 configure channel direction 2010-03-02 14:17:46 -07:00
dmaengine.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu 2010-03-03 07:34:18 -08:00
dmatest.c Merge branch 'coh' into dmaengine 2010-03-03 21:22:21 -07:00
dw_dmac_regs.h dw_dmac: implement a private tx_list 2009-09-08 17:53:02 -07:00
dw_dmac.c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2009-12-30 13:46:29 -08:00
fsldma.c fsldma: Fix cookie issues 2010-02-28 22:18:16 -07:00
fsldma.h fsldma: major cleanups and fixes 2010-02-02 14:51:42 -07:00
iop-adma.c iop-adma.c: use resource_size() 2009-12-11 21:24:33 -07:00
iovlock.c net_dma: poll for a descriptor after allocation failure 2009-09-08 17:38:54 -07:00
Kconfig dma: Add MPC512x DMA driver 2010-03-01 22:16:42 -07:00
Makefile dma: Add MPC512x DMA driver 2010-03-01 22:16:42 -07:00
mpc512x_dma.c dma: Add MPC512x DMA driver 2010-03-01 22:16:42 -07:00
mv_xor.c mv_xor: implement a private tx_list 2009-09-08 17:53:03 -07:00
mv_xor.h mv_xor: implement a private tx_list 2009-09-08 17:53:03 -07:00
shdma.c dmaengine: shdma: extend .device_terminate_all() to record partial transfer 2010-03-02 11:12:03 +09:00
shdma.h dmaengine: shdma: extend .device_terminate_all() to record partial transfer 2010-03-02 11:12:03 +09:00
txx9dmac.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
txx9dmac.h txx9dmac: implement a private tx_list 2009-09-08 17:53:03 -07:00