Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

highmem: remove a use of folio->page

Call folio_address() instead of page_address().

Link: https://lkml.kernel.org/r/20250613194825.3175276-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Matthew Wilcox (Oracle) and committed by
Andrew Morton
9e82db9c 32925ee6

+1 -1
+1 -1
include/linux/highmem-internal.h
··· 195 195 196 196 static inline void *kmap_local_folio(struct folio *folio, size_t offset) 197 197 { 198 - return page_address(&folio->page) + offset; 198 + return folio_address(folio) + offset; 199 199 } 200 200 201 201 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot)