summaryrefslogtreecommitdiff
path: root/arch/alpha/include/asm/tlb.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/include/asm/tlb.h')
-rw-r--r--arch/alpha/include/asm/tlb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/tlb.h b/arch/alpha/include/asm/tlb.h
new file mode 100644
index 000000000..ad586b898
--- /dev/null
+++ b/arch/alpha/include/asm/tlb.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ALPHA_TLB_H
+#define _ALPHA_TLB_H
+
+#include <asm-generic/tlb.h>
+
+#define __pte_free_tlb(tlb, pte, address) tlb_remove_ptdesc((tlb), page_ptdesc(pte))
+#define __pmd_free_tlb(tlb, pmd, address) tlb_remove_ptdesc((tlb), virt_to_ptdesc(pmd))
+
+#endif