Peter Zijlstra 13b9a962a2 locking/rwsem: Rename 'activity' to 'count'
There are two definitions of struct rw_semaphore, one in linux/rwsem.h
and one in linux/rwsem-spinlock.h.

For some reason they have different names for the initial field. This
makes it impossible to use C99 named initialization for
__RWSEM_INITIALIZER() -- or we have to duplicate that entire thing
along with the structure definitions.

The simpler patch is renaming the rwsem-spinlock variant to match the
regular rwsem.

This allows us to switch to C99 named initialization.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/n/tip-bmrZolsbGmautmzrerog27io@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-07-16 14:56:55 +02:00
..
2014-05-06 17:54:53 -04:00
2014-06-11 08:35:34 -07:00
2014-06-10 15:02:42 -07:00
2014-06-03 23:12:20 +02:00
2014-02-13 10:08:52 +05:30
2014-06-04 13:34:30 +09:00
2014-04-01 23:19:14 -04:00
2014-03-10 11:44:42 -04:00
2014-06-11 00:13:16 -07:00
2014-04-18 14:20:48 +02:00
2014-05-20 10:30:40 +09:00
2014-02-20 14:54:28 +01:00
2014-03-04 07:55:47 -08:00
2014-06-06 16:08:13 -07:00
2014-06-02 16:05:24 -07:00
2014-06-02 14:56:01 -07:00
2014-03-07 11:41:32 -05:00
2014-04-17 12:30:40 -07:00
2014-05-16 14:05:22 +02:00
2014-03-13 12:11:00 +10:30
2014-05-27 17:38:11 -07:00
2014-04-01 23:19:08 -04:00
2014-03-04 13:51:06 -05:00
2014-04-01 23:19:10 -04:00
2014-04-07 10:59:19 -07:00
2014-06-04 10:02:38 -07:00
2014-06-10 14:35:22 -07:00
2014-06-10 14:35:22 -07:00
2014-04-24 15:01:33 -06:00
2014-06-02 16:18:48 -06:00
2014-06-04 16:54:07 -07:00
2014-06-04 16:54:21 -07:00
2014-05-05 17:25:50 +10:00
2014-03-19 22:24:08 -04:00
2014-02-17 15:01:52 -08:00
2014-06-04 16:54:12 -07:00
2014-05-20 15:19:25 -05:00
2014-06-06 16:08:12 -07:00
2014-06-15 01:00:50 -07:00
2014-06-12 00:21:11 -04:00
2014-02-15 11:55:28 -08:00
2014-02-17 15:01:37 -08:00
2014-06-04 16:53:57 -07:00
2014-06-04 16:53:56 -07:00
2014-05-14 09:46:32 -07:00
2014-05-30 11:35:54 -06:00
2014-06-04 16:53:57 -07:00
2014-04-07 16:35:53 -07:00
2014-06-04 16:53:57 -07:00