android_kernel_xiaomi_sm8350/drivers/infiniband/core
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
..
addr.c IB/addr: Fix IPv6 routing lookup 2009-11-19 16:46:25 -08:00
agent.c
agent.h
cache.c
cm_msgs.h
cm.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
cma.c RDMA/cm: Revert association of an RDMA device when binding to loopback 2010-02-10 12:00:48 -08:00
core_priv.h
device.c
fmr_pool.c
iwcm.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
iwcm.h
mad_priv.h
mad_rmpp.c
mad_rmpp.h
mad.c infiniband: use for_each_set_bit() 2010-03-06 11:26:23 -08:00
Makefile
multicast.c
packer.c
sa_query.c RDMA/ucma: Add option to manually set IB path 2009-11-16 09:30:33 -08:00
sa.h
smi.c
smi.h
sysfs.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
ucm.c driver core: Convert some drivers to CLASS_ATTR_STRING 2010-03-07 17:04:48 -08:00
ucma.c RDMA/cm: fix loopback address support 2009-11-19 13:26:06 -08:00
ud_header.c IB/core: Fix and clean up ib_ud_header_init() 2010-02-24 14:54:10 -08:00
umem.c RDMA: Use rlimit helpers 2010-02-11 15:40:48 -08:00
user_mad.c driver core: Convert some drivers to CLASS_ATTR_STRING 2010-03-07 17:04:48 -08:00
uverbs_cmd.c switch infiniband uverbs to anon_inodes 2010-03-03 14:07:27 -05:00
uverbs_main.c driver core: Convert some drivers to CLASS_ATTR_STRING 2010-03-07 17:04:48 -08:00
uverbs_marshall.c
uverbs.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2010-03-04 08:15:33 -08:00
verbs.c