Root/target/linux/ubicom32/files/arch/ubicom32/include/asm/tlbflush.h

1/*
2 * arch/ubicom32/include/asm/tlbflush.h
3 * TLB operations for Ubicom32 architecture.
4 *
5 * (C) Copyright 2009, Ubicom, Inc.
6 * Copyright (C) 2000 Lineo, David McCullough <davidm@uclinux.org>
7 * Copyright (C) 2000-2002, Greg Ungerer <gerg@snapgear.com>
8 *
9 * This file is part of the Ubicom32 Linux Kernel Port.
10 *
11 * The Ubicom32 Linux Kernel Port is free software: you can redistribute
12 * it and/or modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation, either version 2 of the
14 * License, or (at your option) any later version.
15 *
16 * The Ubicom32 Linux Kernel Port is distributed in the hope that it
17 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
18 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
19 * the GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with the Ubicom32 Linux Kernel Port. If not,
23 * see <http://www.gnu.org/licenses/>.
24 *
25 * Ubicom32 implementation derived from (with many thanks):
26 * arch/m68knommu
27 * arch/blackfin
28 * arch/parisc
29 */
30#ifndef _ASM_UBICOM32_TLB_FLUSH_H
31#define _ASM_UBICOM32_TLB_FLUSH_H
32
33#include <asm/setup.h>
34
35/*
36 * flush all user-space atc entries.
37 */
38static inline void __flush_tlb(void)
39{
40    BUG();
41}
42
43static inline void __flush_tlb_one(unsigned long addr)
44{
45    BUG();
46}
47
48#define flush_tlb() __flush_tlb()
49
50/*
51 * flush all atc entries (both kernel and user-space entries).
52 */
53static inline void flush_tlb_all(void)
54{
55    BUG();
56}
57
58static inline void flush_tlb_mm(struct mm_struct *mm)
59{
60    BUG();
61}
62
63static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr)
64{
65    BUG();
66}
67
68static inline void flush_tlb_range(struct mm_struct *mm,
69                   unsigned long start, unsigned long end)
70{
71    BUG();
72}
73
74static inline void flush_tlb_kernel_page(unsigned long addr)
75{
76    BUG();
77}
78
79#endif /* _ASM_UBICOM32_TLB_FLUSH_H */
80

Archive Download this file



interactive