diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-11-18 17:22:14 +0300 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2022-11-23 18:24:07 +0300 |
commit | 17ca7df6fcc44470199b66752b8d8459e17aa077 (patch) | |
tree | e9083f02959d024072625ff5f44293382b7921cc /arch/s390/mm/page-states.c | |
parent | 12a6c2c182c1160c46500d80c2f8922cd2747f41 (diff) | |
download | linux-17ca7df6fcc44470199b66752b8d8459e17aa077.tar.xz |
s390/mm: remove unused get_page_state() function
Remove unused get_page_state() function:
arch/s390/mm/page-states.c:61:29:
error: unused function 'get_page_state' [-Werror,-Wunused-function]
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'arch/s390/mm/page-states.c')
-rw-r--r-- | arch/s390/mm/page-states.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/s390/mm/page-states.c b/arch/s390/mm/page-states.c index d5ea09d78938..1e2ea706aa22 100644 --- a/arch/s390/mm/page-states.c +++ b/arch/s390/mm/page-states.c @@ -58,17 +58,6 @@ void __init cmma_init(void) cmma_flag = 2; } -static inline unsigned char get_page_state(struct page *page) -{ - unsigned char state; - - asm volatile(" .insn rrf,0xb9ab0000,%0,%1,%2,0" - : "=&d" (state) - : "a" (page_to_phys(page)), - "i" (ESSA_GET_STATE)); - return state & 0x3f; -} - static inline void set_page_unused(struct page *page, int order) { int i, rc; |