diff options
author | Alexey Dobriyan <[email protected]> | 2018-04-01 01:00:36 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-06-21 18:22:02 +0200 |
commit | 75a040ff14d9a99fc041f5e1d8f09541cab13ba4 (patch) | |
tree | ca8f30d563d6f20a92b9afa6f1ea2459e064aa20 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 7cc7eaad49c30ac165ecf84d95b26f7e0d53bd97 (diff) |
locking/refcounts: Include fewer headers in <linux/refcount.h>
Debloat <linux/refcount.h>'s dependencies:
- <linux/kernel.h> is not needed, but <linux/compiler.h> is.
- <linux/mutex.h> is not needed, only a forward declaration of "struct mutex".
- <linux/spinlock.h> is not needed, <linux/spinlock_types.h> is enough.
Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lkml.kernel.org/lkml/20180331220036.GA7676@avx2
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions