diff options
author | Peter Zijlstra <[email protected]> | 2018-12-03 18:03:46 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-12-17 18:54:23 +0100 |
commit | 16ebf031e8ab73779a382c9f2b097891da6af923 (patch) | |
tree | 9320edf801261c9c25343981eabd041a779d848c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | ecc729f1f47142ad31741549f400b611435c1af7 (diff) |
x86/mm/cpa: Add __cpa_addr() helper
The code to compute the virtual address of a cpa_data is duplicated;
introduce a helper before more copies happen.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions