Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / include / asm-mn10300 / tlb.h
blob65d232b9661399994ed185765efd4e5e1708b9e6
1 /* MN10300 TLB definitions
3 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
12 #ifndef _ASM_TLB_H
13 #define _ASM_TLB_H
15 #include <asm/tlbflush.h>
17 extern void check_pgt_cache(void);
20 * we don't need any special per-pte or per-vma handling...
22 #define tlb_start_vma(tlb, vma) do { } while (0)
23 #define tlb_end_vma(tlb, vma) do { } while (0)
24 #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0)
27 * .. because we flush the whole mm when it fills up
29 #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
31 /* for now, just use the generic stuff */
32 #include <asm-generic/tlb.h>
34 #endif /* _ASM_TLB_H */