arch/parisc/include/asm/tlb.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _PARISC_TLB_H |
| 3 | #define _PARISC_TLB_H |
| 4 | |
| 5 | #include <asm-generic/tlb.h> |
| 6 | |
| 7 | #if CONFIG_PGTABLE_LEVELS == 3 |
| 8 | #define __pmd_free_tlb(tlb, pmd, addr) tlb_remove_ptdesc((tlb), virt_to_ptdesc(pmd)) |
| 9 | #endif |
| 10 | #define __pte_free_tlb(tlb, pte, addr) tlb_remove_ptdesc((tlb), page_ptdesc(pte)) |
| 11 | |
| 12 | #endif |