tlb-nommu.c 1.1 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7 8 9 10 11
/*
 * arch/sh/mm/tlb-nommu.c
 *
 * TLB Operations for MMUless SH.
 *
 * Copyright (C) 2002 Paul Mundt
 *
 * Released under the terms of the GNU GPL v2.0.
 */
#include <linux/kernel.h>
#include <linux/mm.h>
12
#include <asm/pgtable.h>
P
Paul Mundt 已提交
13
#include <asm/tlbflush.h>
L
Linus Torvalds 已提交
14 15 16 17

/*
 * Nothing too terribly exciting here ..
 */
18
void local_flush_tlb_all(void)
L
Linus Torvalds 已提交
19 20 21 22
{
	BUG();
}

23
void local_flush_tlb_mm(struct mm_struct *mm)
L
Linus Torvalds 已提交
24 25 26 27
{
	BUG();
}

28
void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
L
Linus Torvalds 已提交
29 30 31 32 33
			    unsigned long end)
{
	BUG();
}

34
void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
L
Linus Torvalds 已提交
35 36 37 38
{
	BUG();
}

39
void local_flush_tlb_one(unsigned long asid, unsigned long page)
L
Linus Torvalds 已提交
40 41 42 43
{
	BUG();
}

44
void local_flush_tlb_kernel_range(unsigned long start, unsigned long end)
L
Linus Torvalds 已提交
45 46 47 48
{
	BUG();
}

49 50 51 52 53 54
void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte)
{
}

void __update_cache(struct vm_area_struct *vma,
		    unsigned long address, pte_t pte)
L
Linus Torvalds 已提交
55 56
{
}
57 58 59 60 61

void __init page_table_range_init(unsigned long start, unsigned long end,
				  pgd_t *pgd_base)
{
}
62 63 64 65

void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
{
}