Christophe Leroy 2efc7c085f powerpc/32: drop get_pteptr()
Commit 8d30c14cab30 ("powerpc/mm: Rework I$/D$ coherency (v3)") and
commit 90ac19a8b21b ("[POWERPC] Abolish iopa(), mm_ptov(),
io_block_mapping() from arch/powerpc") removed the use of get_pteptr()
outside of mm/pgtable_32.c

In mm/pgtable_32.c, the only user of get_pteptr() is change_page_attr()
which operates on kernel context and on lowmem pages only.

Make virt_to_kpte() available outside of mm/mem.c and use it instead
of get_pteptr(), and drop get_pteptr()

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/788378c6c3ba5c5298caab7c7f95e6c3c88244b8.1578558199.git.christophe.leroy@c-s.fr
2020-02-26 10:34:41 +11:00
..
2020-02-04 13:06:46 +00:00
2020-02-04 13:06:46 +00:00
2019-11-18 22:27:51 +11:00
2019-09-14 00:01:14 +10:00
2019-07-13 16:08:36 -07:00
2019-11-19 19:38:38 +11:00
2018-06-07 10:23:33 -07:00
2019-11-18 22:27:52 +11:00
2019-08-30 09:52:57 +10:00
2019-12-03 13:58:22 -08:00
2019-07-13 16:08:36 -07:00
2019-09-05 14:22:41 +10:00
2019-07-13 16:08:36 -07:00
2020-02-26 10:34:41 +11:00
2016-06-14 13:58:26 +10:00
2019-07-13 16:08:36 -07:00
2019-07-13 16:08:36 -07:00
2019-07-13 16:08:36 -07:00
2019-11-30 14:35:43 -08:00
2018-05-25 12:04:43 +10:00
2019-11-30 14:35:43 -08:00
2019-07-16 19:23:24 -07:00
2018-07-30 22:48:21 +10:00
2019-05-01 16:45:05 +10:00
2019-07-29 09:34:27 +10:00
2019-07-13 16:08:36 -07:00