patch-2.4.0-test3 linux/include/asm-mips/pgtable.h
Next file: linux/include/asm-mips/posix_types.h
Previous file: linux/include/asm-mips/param.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Sun Jul 9 22:18:15 2000
- Orig file:
v2.4.0-test2/linux/include/asm-mips/pgtable.h
- Orig date:
Tue May 23 15:31:36 2000
diff -u --recursive --new-file v2.4.0-test2/linux/include/asm-mips/pgtable.h linux/include/asm-mips/pgtable.h
@@ -1,5 +1,4 @@
-/* $Id: pgtable.h,v 1.31 2000/03/02 02:37:13 ralf Exp $
- *
+/*
* 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.
@@ -43,7 +42,13 @@
#define flush_page_to_ram(page) _flush_page_to_ram(page)
#define flush_icache_range(start, end) flush_cache_all()
-#define flush_icache_page(start,page) do { } while(0)
+
+#define flush_icache_page(vma, page) \
+do { \
+ unsigned long addr; \
+ addr = page_address(page); \
+ _flush_cache_page(vma, addr); \
+} while (0)
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)