diff options
author | Peter Zijlstra <peterz@infradead.org> | 2018-12-03 18:03:46 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-12-17 18:54:23 +0100 |
commit | 16ebf031e8ab73779a382c9f2b097891da6af923 (patch) | |
tree | 9320edf801261c9c25343981eabd041a779d848c /drivers/remoteproc | |
parent | ecc729f1f47142ad31741549f400b611435c1af7 (diff) | |
download | talos-op-linux-16ebf031e8ab73779a382c9f2b097891da6af923.tar.gz talos-op-linux-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) <peterz@infradead.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tom.StDenis@amd.com
Cc: dave.hansen@intel.com
Link: http://lkml.kernel.org/r/20181203171043.229119497@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions