diff options
| author | Kevin Hao <[email protected]> | 2016-07-23 14:42:39 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-08-01 11:15:03 +1000 |
| commit | 905259e33d0ca0ee8e0d55783c3eef3402df81b7 (patch) | |
| tree | 9a9e072ab1e8b9fbdb37880d0c1be51bb585182c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 309b315b6ec686ce050758cc4e29f6ad1125a83f (diff) | |
powerpc: Remove mfvtb()
This function is only used by get_vtb(). They are almost the same except
the reading from the real register. Move the mfspr() to get_vtb() and
kill the function mfvtb(). With this, we can eliminate the use of
cpu_has_feature() in very core header file like reg.h. This is a
preparation for the use of jump label for cpu_has_feature().
Signed-off-by: Kevin Hao <[email protected]>
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions