summaryrefslogtreecommitdiff
path: root/tools/testing/scatterlist/linux
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2025-09-01 17:03:58 +0200
committerAndrew Morton <akpm@linux-foundation.org>2025-09-21 14:22:10 -0700
commit84efbefa26df36a845a9210ee962aa6866f99bb7 (patch)
tree313208fbe23e6769696dfea05ea6c90ccbb597ef /tools/testing/scatterlist/linux
parentd5170ce4d71b3843613ee1840bca50ad71c3671e (diff)
mm: remove nth_page()
Now that all users are gone, let's remove it. Link: https://lkml.kernel.org/r/20250901150359.867252-38-david@redhat.com Signed-off-by: David Hildenbrand <david@redhat.com> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/scatterlist/linux')
-rw-r--r--tools/testing/scatterlist/linux/mm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/scatterlist/linux/mm.h b/tools/testing/scatterlist/linux/mm.h
index 5bd9e6e80625..121ae78d6e88 100644
--- a/tools/testing/scatterlist/linux/mm.h
+++ b/tools/testing/scatterlist/linux/mm.h
@@ -51,7 +51,6 @@ static inline unsigned long page_to_phys(struct page *page)
#define page_to_pfn(page) ((unsigned long)(page) / PAGE_SIZE)
#define pfn_to_page(pfn) (void *)((pfn) * PAGE_SIZE)
-#define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n))
#define __min(t1, t2, min1, min2, x, y) ({ \
t1 min1 = (x); \