diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2019-07-26 13:22:14 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-07-30 09:52:04 +0200 |
| commit | a20eefaee64610541d125cd2c10fa25e278f0bee (patch) | |
| tree | 770c6d277ba762b4e37481b190983f9245196d2b /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 5f251e986de05af8a177bfc632980cc64a4d3e7e (diff) | |
staging: most: Use DEFINE_SPINLOCK() instead of struct spinlock
For spinlocks the type spinlock_t should be used instead of "struct
spinlock".
Use DEFINE_SPINLOCK() and spare the run time initialization
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions