diff options
| author | Florian Fainelli <[email protected]> | 2017-09-19 10:46:47 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-09-19 16:08:53 -0700 |
| commit | 5345862e9af02ce3780639bfe350ed2da9f8af13 (patch) | |
| tree | d0f4c250df93c70b9d664dab28435127705edffd /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | e85ec74ace29acfda4afdfd56df122a0a62e6a1a (diff) | |
net: dsa: b53: Use a macro to define I/O operations
Instead of repeating the same pattern: acquire mutex, read/write,
release mutex, define a macro: b53_build_op() which takes the type
(read|write), I/O size, and value (scalar or pointer). This helps with
fixing bugs that could exist (e.g: missing barrier, lock etc.).
Reviewed-by: Vivien Didelot <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions