diff options
author | Nick Ewalt <[email protected]> | 2018-10-14 21:59:24 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-10-15 16:30:37 +0200 |
commit | 4a966fa24a5a7e236db8ac1e58e04107db1c1930 (patch) | |
tree | c976683ea425706a87f0e41e74a65dc892a0e998 /tools/perf/util/trace-event-scripting.c | |
parent | bae54fb8121da9d52cd6919758defb24639901cf (diff) |
staging: gasket: page_table: simplify gasket_components_to_dev_address
Refactor gasket_components_to_dev_address to be faster and easier to
understand. The old implementation was unnecessarily complex and masked
the page_index for simple addresses but not extended ones. It makes the
most sense for this function to perform no such masking.
Signed-off-by: Nick Ewalt <[email protected]>
Signed-off-by: Todd Poynor <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions