diff options
author | Axel Lin <[email protected]> | 2011-11-29 13:54:01 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2012-01-06 15:17:17 +0100 |
commit | 1334f32938e46fb321c67a652997d33583257249 (patch) | |
tree | f296005ef79641ea4733af19cda0f5bf736824b1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 216f3ad9aa5731024b9c96e63b676f9f65078dd5 (diff) |
watchdog: Use DEFINE_SPINLOCK() for static spinlocks
Rather than just defining static spinlock_t variables and then
initializing them later in init functions, simply define them with
DEFINE_SPINLOCK() and remove the calls to spin_lock_init().
Signed-off-by: Axel Lin <[email protected]>
Cc: Nicolas Thill <[email protected]>
Cc: Heiko Ronsdorf <[email protected]>
Cc: Rodolfo Giometti <[email protected]>
Cc: Andrey Panin <[email protected]>
Cc: Guido Guenther <[email protected]>
Cc: Curt E Bruns <[email protected]>
Cc: Deepak Saxena <[email protected]>
Cc: Andrew Victor <[email protected]>
Cc: George G. Davis <[email protected]>
Cc: Sylver Bruneau <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions