diff options
author | Peter Zijlstra <[email protected]> | 2014-07-16 14:54:55 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-07-16 14:56:55 +0200 |
commit | 13b9a962a2594ee880c5d50d7f70964da1d4fe5a (patch) | |
tree | 6b9511aa222dcb670293f1db9042b85f3d69e111 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 33ecd2083a9560fbc1ef1b1279ef3ecb4c012a4f (diff) |
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 <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions