| /* SPDX-License-Identifier: GPL-2.0 */ | |
| #ifndef _PARISC_TLB_H | |
| #define _PARISC_TLB_H | |
| #include <asm-generic/tlb.h> | |
| #if CONFIG_PGTABLE_LEVELS == 3 | |
| #define __pmd_free_tlb(tlb, pmd, addr) tlb_remove_ptdesc((tlb), virt_to_ptdesc(pmd)) | |
| #endif | |
| #define __pte_free_tlb(tlb, pte, addr) tlb_remove_ptdesc((tlb), page_ptdesc(pte)) | |
| #endif |