Message ID | 20250402210612.2444135-3-willy@infradead.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Misc folio patches for 6.16 | expand |
diff --git a/include/linux/mm.h b/include/linux/mm.h index d910b6ffcbed..99e9addec5cf 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -2428,7 +2428,6 @@ static inline void clear_page_pfmemalloc(struct page *page) extern void pagefault_out_of_memory(void); #define offset_in_page(p) ((unsigned long)(p) & ~PAGE_MASK) -#define offset_in_thp(page, p) ((unsigned long)(p) & (thp_size(page) - 1)) #define offset_in_folio(folio, p) ((unsigned long)(p) & (folio_size(folio) - 1)) /*
All callers have been converted to call offset_in_folio(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> --- include/linux/mm.h | 1 - 1 file changed, 1 deletion(-)