diff options
author | Kirill A. Shutemov <[email protected]> | 2018-01-31 16:54:04 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-13 15:59:49 +0100 |
commit | 1070730c1ad2bd49b0d11112728f1f4390137728 (patch) | |
tree | fe3fceed092504ca19a4a66eb29eb45552dabd02 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | aad983913d77af2c3394f29b88d7bb75ebd7d172 (diff) |
x86/mm/encrypt: Simplify sme_pgtable_calc()
sme_pgtable_calc() is unnecessary complex. It can be re-written in a
more stream-lined way.
As a side effect, we would get the code ready to boot-time switching
between paging modes.
Tested-by: Tom Lendacky <[email protected]>
Signed-off-by: Kirill A. Shutemov <[email protected]>
Reviewed-by: Tom Lendacky <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions