aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2021-05-13 11:53:17 +0100
committerRussell King (Oracle) <[email protected]>2021-06-07 12:55:30 +0100
commitd619f90fae23a31eda3a06e762a17dcdc7fbd4e8 (patch)
treee1bdbcc213f4f3a3e6c9e290736fe49c4672746c /lib/mpi/mpi-sub-ui.c
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
ARM: update __swp_entry_to_pte() to use PTE_TYPE_FAULT
Swap entries use a faulting PTE which have the least two significant bits as zero. Due to this, the use of PTE_TYPE_FAULT was overlooked, but really should have been included in __swp_entry_to_pte(). Convert this macro to use PTE_TYPE_FAULT to properly document what is going on here, and use __pte() to convert the swp_entry_t to a pte_t. This results in no change to the resulting kernel image. Reviewed-by: Anshuman Khandual <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions