diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-05-15 13:57:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-05-16 03:47:22 -0400 |
commit | 13a4db9d75ec5dbca4bd6229e149e061ef7a6bf0 (patch) | |
tree | b5ea135939f1c519b52828fa70910c7e12a426e5 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 67b8d5c7081221efa252e111cd52532ec6d4266f (diff) |
x86/mtrr: Convert to use match_string() helper
The helper returns index of the matching string in an array.
Replace the open coded array lookup with match_string().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Luis R. Rodriguez <mcgrof@suse.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Toshi Kani <toshi.kani@hp.com>
Link: http://lkml.kernel.org/r/20180515175759.89315-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions