diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-11-23 16:48:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-29 08:56:09 +0100 |
commit | a9efc04cfd05690e91279f41c2325c46335c43ef (patch) | |
tree | f4cb63d94e82ec9f5138f43ffaaf0098e9bc1f5b /tools/perf/scripts/python/libxed.py | |
parent | 944fe915d00d3cb1bacb1e77cabfb6dc82e6f8b8 (diff) |
i915: Move list_count() to list.h for broader use
Some of the existing users, and definitely will be new ones, want to
count existing nodes in the list. Provide a generic API for that by
moving code from i915 to list.h.
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221123144901.40493-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions