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
..
2010-03-02 03:56:39 -08:00
2010-01-03 21:42:50 -08:00
2010-02-18 14:47:48 -08:00
2010-02-18 14:47:48 -08:00
2009-09-01 01:13:50 -07:00
2010-02-18 14:47:48 -08:00
2010-02-18 14:47:48 -08:00
2010-02-18 14:47:48 -08:00
2010-02-18 14:47:48 -08:00
2008-11-25 18:25:32 -08:00
2010-02-08 22:44:18 -08:00
2009-04-04 16:51:14 -07:00
2010-02-28 00:43:33 -08:00
2010-02-16 15:19:03 -08:00
2009-08-12 23:03:00 -07:00
2010-02-17 13:35:44 -08:00
2010-02-17 13:35:44 -08:00
2010-02-17 13:35:44 -08:00
2009-11-05 20:00:29 -08:00
2010-02-28 18:37:12 -08:00
2008-09-22 19:27:10 -07:00
2010-02-26 02:10:14 -08:00
2010-02-26 02:10:14 -08:00
2010-02-26 02:10:14 -08:00
2010-02-26 02:10:14 -08:00
2009-11-11 19:22:21 -08:00
2009-10-11 11:20:58 -07:00
2008-11-25 18:23:59 -08:00
2008-11-25 18:24:57 -08:00
2009-04-16 02:20:08 -07:00
2009-09-07 01:56:52 -07:00
2009-01-06 10:47:44 -08:00
2009-11-20 15:35:04 -08:00
2009-10-13 11:48:18 -07:00
2009-10-20 19:11:06 -07:00
2008-11-25 18:24:38 -08:00
2010-01-09 23:00:32 -08:00
2010-01-28 06:01:35 -08:00
2009-04-16 02:20:21 -07:00
2009-12-26 20:38:23 -08:00
2010-01-18 00:29:19 -08:00
2009-04-29 17:32:34 -07:00
2009-10-01 15:14:54 -07:00
2010-02-12 16:21:01 -08:00
2009-12-11 16:16:33 -08:00
2009-03-27 00:46:48 -07:00
2008-11-25 18:25:49 -08:00
2008-08-29 02:13:33 -07:00
2008-08-29 02:14:29 -07:00
2008-08-29 02:14:43 -07:00
2010-02-26 02:08:42 -08:00
2010-02-28 00:43:34 -08:00
2010-02-17 17:27:40 -08:00
2010-02-17 16:35:17 -08:00
2009-11-26 15:51:29 -08:00
2009-01-11 00:06:36 -08:00