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.

s390/uv: drop arch_make_page_accessible()

All code was converted to using arch_make_folio_accessible(), let's drop
arch_make_page_accessible().

Link: https://lkml.kernel.org/r/20240729183844.388481-4-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Janosch Frank <frankja@linux.ibm.com>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

David Hildenbrand and committed by
Andrew Morton
3290ef3c b967c648

-14
-2
arch/s390/include/asm/page.h
··· 176 176 177 177 int arch_make_folio_accessible(struct folio *folio); 178 178 #define HAVE_ARCH_MAKE_FOLIO_ACCESSIBLE 179 - int arch_make_page_accessible(struct page *page); 180 - #define HAVE_ARCH_MAKE_PAGE_ACCESSIBLE 181 179 182 180 struct vm_layout { 183 181 unsigned long kaslr_offset;
-5
arch/s390/kernel/uv.c
··· 548 548 } 549 549 EXPORT_SYMBOL_GPL(arch_make_folio_accessible); 550 550 551 - int arch_make_page_accessible(struct page *page) 552 - { 553 - return arch_make_folio_accessible(page_folio(page)); 554 - } 555 - EXPORT_SYMBOL_GPL(arch_make_page_accessible); 556 551 static ssize_t uv_query_facilities(struct kobject *kobj, 557 552 struct kobj_attribute *attr, char *buf) 558 553 {
-7
include/linux/mm.h
··· 2205 2205 return atomic_read(&folio->_mapcount) > 0; 2206 2206 } 2207 2207 2208 - #ifndef HAVE_ARCH_MAKE_PAGE_ACCESSIBLE 2209 - static inline int arch_make_page_accessible(struct page *page) 2210 - { 2211 - return 0; 2212 - } 2213 - #endif 2214 - 2215 2208 #ifndef HAVE_ARCH_MAKE_FOLIO_ACCESSIBLE 2216 2209 static inline int arch_make_folio_accessible(struct folio *folio) 2217 2210 {