Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / src / linux-headers-3.13.0-24 / arch / frv / include / asm / | server ip : 172.67.156.115 your ip : 108.162.216.216 H O M E |
Filename | /usr/src/linux-headers-3.13.0-24/arch/frv/include/asm/tlbflush.h |
Size | 1.88 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 09:50 |
Last modified | 20-Jan-2014 10:40 |
Last accessed | 27-Apr-2025 09:50 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
/* tlbflush.h: TLB flushing functions
*
* Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.
* Written by David Howells ([email protected])
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#ifndef _ASM_TLBFLUSH_H
#define _ASM_TLBFLUSH_H
#include <linux/mm.h>
#include <asm/processor.h>
#ifdef CONFIG_MMU
#ifndef __ASSEMBLY__
extern void asmlinkage __flush_tlb_all(void);
extern void asmlinkage __flush_tlb_mm(unsigned long contextid);
extern void asmlinkage __flush_tlb_page(unsigned long contextid, unsigned long start);
extern void asmlinkage __flush_tlb_range(unsigned long contextid,
unsigned long start, unsigned long end);
#endif /* !__ASSEMBLY__ */
#define flush_tlb_all() \
do { \
preempt_disable(); \
__flush_tlb_all(); \
preempt_enable(); \
} while(0)
#define flush_tlb_mm(mm) \
do { \
preempt_disable(); \
__flush_tlb_mm((mm)->context.id); \
preempt_enable(); \
} while(0)
#define flush_tlb_range(vma,start,end) \
do { \
preempt_disable(); \
__flush_tlb_range((vma)->vm_mm->context.id, start, end); \
preempt_enable(); \
} while(0)
#define flush_tlb_page(vma,addr) \
do { \
preempt_disable(); \
__flush_tlb_page((vma)->vm_mm->context.id, addr); \
preempt_enable(); \
} while(0)
#define __flush_tlb_global() flush_tlb_all()
#define flush_tlb() flush_tlb_all()
#define flush_tlb_kernel_range(start, end) flush_tlb_all()
#else
#define flush_tlb() BUG()
#define flush_tlb_all() BUG()
#define flush_tlb_mm(mm) BUG()
#define flush_tlb_page(vma,addr) BUG()
#define flush_tlb_range(mm,start,end) BUG()
#define flush_tlb_kernel_range(start, end) BUG()
#endif
#endif /* _ASM_TLBFLUSH_H */
*
* Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.
* Written by David Howells ([email protected])
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#ifndef _ASM_TLBFLUSH_H
#define _ASM_TLBFLUSH_H
#include <linux/mm.h>
#include <asm/processor.h>
#ifdef CONFIG_MMU
#ifndef __ASSEMBLY__
extern void asmlinkage __flush_tlb_all(void);
extern void asmlinkage __flush_tlb_mm(unsigned long contextid);
extern void asmlinkage __flush_tlb_page(unsigned long contextid, unsigned long start);
extern void asmlinkage __flush_tlb_range(unsigned long contextid,
unsigned long start, unsigned long end);
#endif /* !__ASSEMBLY__ */
#define flush_tlb_all() \
do { \
preempt_disable(); \
__flush_tlb_all(); \
preempt_enable(); \
} while(0)
#define flush_tlb_mm(mm) \
do { \
preempt_disable(); \
__flush_tlb_mm((mm)->context.id); \
preempt_enable(); \
} while(0)
#define flush_tlb_range(vma,start,end) \
do { \
preempt_disable(); \
__flush_tlb_range((vma)->vm_mm->context.id, start, end); \
preempt_enable(); \
} while(0)
#define flush_tlb_page(vma,addr) \
do { \
preempt_disable(); \
__flush_tlb_page((vma)->vm_mm->context.id, addr); \
preempt_enable(); \
} while(0)
#define __flush_tlb_global() flush_tlb_all()
#define flush_tlb() flush_tlb_all()
#define flush_tlb_kernel_range(start, end) flush_tlb_all()
#else
#define flush_tlb() BUG()
#define flush_tlb_all() BUG()
#define flush_tlb_mm(mm) BUG()
#define flush_tlb_page(vma,addr) BUG()
#define flush_tlb_range(mm,start,end) BUG()
#define flush_tlb_kernel_range(start, end) BUG()
#endif
#endif /* _ASM_TLBFLUSH_H */