diff options
author | Dave Hansen <[email protected]> | 2018-09-28 09:02:28 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2018-10-09 16:51:16 +0200 |
commit | 02e983b760c0d4183c28d625a3c99016e2cd8a7f (patch) | |
tree | ad406d36d9187326b1e318edec6da9b262691a2f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 88259744e253777e898c186f08670c86dd8199bf (diff) |
x86/mm: Add vsyscall address helper
We will shortly be using this check in two locations. Put it in
a helper before we do so.
Let's also insert PAGE_MASK instead of the open-coded ~0xfff.
It is easier to read and also more obviously correct considering
the implicit type conversion that has to happen when it is not
an implicit 'unsigned long'.
Cc: [email protected]
Cc: Jann Horn <[email protected]>
Cc: Sean Christopherson <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions