aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <[email protected]>2016-02-15 12:55:03 +1100
committerPaul Mackerras <[email protected]>2016-02-16 13:44:26 +1100
commite9ab1a1cafb7911df1550a285f2f733ea5920f55 (patch)
tree0a63e35cd571c6083440e4e8c3fb02bf23c27a6e /tools/perf/scripts/python/bin
parent178a787502123b01499c5a4617b94bb69ad49dd5 (diff)
powerpc: Make vmalloc_to_phys() public
This makes vmalloc_to_phys() public as there will be another user (KVM in-kernel VFIO acceleration) for it soon. As this new user can be compiled as a module, this exports the symbol. As a little optimization, this changes the helper to call vmalloc_to_pfn() instead of vmalloc_to_page() as the size of the struct page may not be power-of-two aligned which will make gcc use multiply instructions instead of shifts. Signed-off-by: Alexey Kardashevskiy <[email protected]> Acked-by: Michael Ellerman <[email protected]> Reviewed-by: David Gibson <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions