diff options
| author | Peter Zijlstra <[email protected]> | 2018-12-03 17:03:46 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-12-17 17:54:23 +0000 |
| commit | 16ebf031e8ab73779a382c9f2b097891da6af923 (patch) | |
| tree | 9320edf801261c9c25343981eabd041a779d848c /drivers/fpga/fpga-mgr.c | |
| parent | x86/mm/cpa: Add ARRAY and PAGES_ARRAY selftests (diff) | |
| download | kernel-16ebf031e8ab73779a382c9f2b097891da6af923.tar.gz kernel-16ebf031e8ab73779a382c9f2b097891da6af923.zip | |
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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
