diff options
author | Ben Hutchings <[email protected]> | 2012-02-11 22:57:19 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-02-13 15:24:26 -0800 |
commit | 5467bdda4a326513c2f14b712a22d59115b7ae94 (patch) | |
tree | 535210ef9bf238b1b4df1988114686f09896dbf9 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 70142a9dd154f54f7409871ead86f7d77f2c6576 (diff) |
x86/cpu: Clean up modalias feature matching
We currently include commas on both sides of the feature ID in a
modalias, but this prevents the lowest numbered feature of a CPU from
being matched. Since all feature IDs have the same length, we do not
need to worry about substring matches, so omit commas from the
modalias entirely.
Avoid generating multiple adjacent wildcards when there is no
feature ID to match.
Signed-off-by: Ben Hutchings <[email protected]>
Acked-by: Thomas Renninger <[email protected]>
Acked-by: H. Peter Anvin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions