summaryrefslogtreecommitdiff
path: root/arch/csky/mm/tlb.c
blob: efae81ce7fbc66a0ce3319f82674cd7c3f815ba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#include <linux/init.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/sched.h>

#include <asm/mmu_context.h>
#include <asm/pgtable.h>
#include <asm/setup.h>

void flush_tlb_all(void)
{
	tlb_invalid_all();
}

void flush_tlb_mm(struct mm_struct *mm)
{
	tlb_invalid_all();
}

void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
			unsigned long end)
{
	tlb_invalid_all();
}

void flush_tlb_kernel_range(unsigned long start, unsigned long end)
{
	tlb_invalid_all();
}

void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr)
{
	tlb_invalid_all();
}

void flush_tlb_one(unsigned long addr)
{
	tlb_invalid_all();
}
EXPORT_SYMBOL(flush_tlb_one);