aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <[email protected]>2016-11-30 17:52:00 +1100
committerMichael Ellerman <[email protected]>2016-12-02 14:38:29 +1100
commitd7baee6901b34c4895eb78efdbf13a49079d7404 (patch)
tree82e581d4b82571bb48672167ebd1a94532f60ad3 /scripts/gdb/linux/modules.py
parent88f54a3581eb9deaa3bd1aade40aef266d782385 (diff)
powerpc/iommu: Stop using @current in mm_iommu_xxx
This changes mm_iommu_xxx helpers to take mm_struct as a parameter instead of getting it from @current which in some situations may not have a valid reference to mm. This changes helpers to receive @mm and moves all references to @current to the caller, including checks for !current and !current->mm; checks in mm_iommu_preregistered() are removed as there is no caller yet. This moves the mm_iommu_adjust_locked_vm() call to the caller as it receives mm_iommu_table_group_mem_t but it needs mm. This should cause no behavioral change. Signed-off-by: Alexey Kardashevskiy <[email protected]> Reviewed-by: David Gibson <[email protected]> Acked-by: Alex Williamson <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions