On 04/13/2019 12:31 AM, Robin Murphy wrote: > Refactor is_device_{public,private}_page() with is_pci_p2pdma_page() > to make them all consistent in depending on their respective config > options even when CONFIG_DEV_PAGEMAP_OPS is enabled for other reasons. > This allows a little more compile-time optimisation as well as the > conceptual and cosmetic cleanup. > > Suggested-by: Jerome Glisse <jglisse@xxxxxxxxxx> > Signed-off-by: Robin Murphy <robin.murphy@xxxxxxx> Reviewed-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>