diff options
author | Ian Munsie <imunsie@au1.ibm.com> | 2014-10-08 10:54:58 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-08 11:15:44 +0200 |
commit | a1dca3465a7be53980abab1e0d6646176fdc075f (patch) | |
tree | e01d711450175ec03ce894a0e9ec8969ce0ecedd /arch/powerpc/mm/copro_fault.c | |
parent | powerpc/powerpc: Add new PCIe functions for allocating cxl interrupts (diff) | |
download | linux-a1dca3465a7be53980abab1e0d6646176fdc075f.tar.xz linux-a1dca3465a7be53980abab1e0d6646176fdc075f.zip |
powerpc/mm: Add new hash_page_mm()
This adds a new function hash_page_mm() based on the existing hash_page().
This version allows any struct mm to be passed in, rather than assuming
current. This is useful for servicing co-processor faults which are not in the
context of the current running process.
We need to be careful here as the current hash_page() assumes current in a few
places.
Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/copro_fault.c')
0 files changed, 0 insertions, 0 deletions