37 lines
1.1 KiB
C
Executable File
37 lines
1.1 KiB
C
Executable File
/*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* Copyright (C) 1994 - 2001 by Ralf Baechle
|
|
* Copyright (C) 1999, 2000 Silicon Graphics, Inc.
|
|
*/
|
|
#ifndef _ASM_PGALLOC_H
|
|
#define _ASM_PGALLOC_H
|
|
|
|
#include <linux/config.h>
|
|
#include <linux/mm.h>
|
|
|
|
/* TLB flushing:
|
|
*
|
|
* - flush_tlb_all() flushes all processes TLB entries
|
|
* - flush_tlb_mm(mm) flushes the specified mm context TLB entries
|
|
* - flush_tlb_page(mm, vmaddr) flushes a single page
|
|
* - flush_tlb_range(mm, start, end) flushes a range of pages
|
|
*/
|
|
extern void flush_tlb_all(void);
|
|
extern void flush_tlb_mm(struct mm_struct *mm);
|
|
extern void flush_tlb_range(struct mm_struct *mm, unsigned long start,
|
|
unsigned long end);
|
|
extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
|
|
|
|
extern inline void flush_tlb_pgtables(struct mm_struct *mm,
|
|
unsigned long start, unsigned long end)
|
|
{
|
|
/* Nothing to do on MIPS. */
|
|
}
|
|
|
|
/* lobo remove some codes which are associated with page tables */
|
|
|
|
#endif /* _ASM_PGALLOC_H */
|