diff options
| author | Mostafa Saleh <smostafa@google.com> | 2026-01-20 09:19:26 +0000 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-01-21 12:51:49 +0100 |
| commit | a7f1bc231b666aed85358d4940ca8c37a75639f7 (patch) | |
| tree | 665d35fc972bb2a270415030da8ec8b6c3e11d16 /include/linux/sort.h | |
| parent | d414b83dc5f90a6a9a656cd6fbb9378ddc824032 (diff) | |
iommu: debug-pagealloc: Use page_ext_get_from_phys()
Instead of calling pfn_valid() and then getting the page, call
the newly added function page_ext_get_from_phys(), which would
also check for MMIO and offline memory and return NULL in that
case.
Signed-off-by: Mostafa Saleh <smostafa@google.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'include/linux/sort.h')
0 files changed, 0 insertions, 0 deletions
