s390/mm: remove unused cmma functions
PATCH 1/1 s390/mm: remove unused cmma functions
The last user of arch_set_page_states(), arch_set_page_nodat() and arch_test_page_nodat() was removed in commit 394216275c7d ("s390: remove broken hibernate / power management support"), let's remove these functions.
Cc Heiko Carstens <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Christian Borntraeger <[email protected]>
Signed-off-by David Hildenbrand <[email protected]>
--- arch/s390/include/asm/page.h | 3 --- arch/s390/mm/page-states.c | 43 ------------------------------------ 2 files changed, 46 deletions(-)
arch/s390/include/asm/page.h +0 -3
@@ -144,9 +144,6 @@ struct page;void arch_free_page (struct page *page,int order);void arch_alloc_page (struct page *page,int order);void arch_set_page_dat (struct page *page,int order); -void arch_set_page_nodat (struct page *page,int order); -int arch_test_page_nodat (struct page *page); -void arch_set_page_states (int make_stable);static inline int devmem_is_allowed (unsigned long pfn) {
arch/s390/mm/page-states.c +0 -43
46 lines not on this page · raw message
base-commit: c500bee1c5b2f1d59b1081ac879d73268ab0ff17
Signature · 1 line
2.31.1
Quoted 10 lines · David Hildenbrand
The last user of
arch_set_page_states(),arch_set_page_nodat()andarch_test_page_nodat()was removed in commit394216275c7d("s390: remove broken hibernate / power management support"), let's remove these functions.Cc Heiko Carstens <[email protected]>Cc Vasily Gorbik <[email protected]>Cc Christian Borntraeger <[email protected]>Signed-off-by David Hildenbrand <[email protected]>
Quoted 4 lines
--- arch/s390/include/asm/page.h | 3 --- arch/s390/mm/page-states.c | 43 ------------------------------------ 2 files changed, 46 deletions(-)
Applied, thanks.