summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2000-02-13 20:52:05 +0000
committerHarald Koerfgen <hkoerfg@web.de>2000-02-13 20:52:05 +0000
commitb5766e7e617734ae2426cc836a2819ed81cace0c (patch)
tree2f21c1628f61ab56fb7bf4d47ad6890997de1f25 /include
parent4f1dc929c47e0d019726681daa8d78d616868b0e (diff)
o bootmem fixes for DECstations
o declarations in pgtable.h fixed o cache management for R3000 improved
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/dec/machtype.h9
-rw-r--r--include/asm-mips/pgalloc.h10
2 files changed, 12 insertions, 7 deletions
diff --git a/include/asm-mips/dec/machtype.h b/include/asm-mips/dec/machtype.h
index ed4335d19..5177e6bb8 100644
--- a/include/asm-mips/dec/machtype.h
+++ b/include/asm-mips/dec/machtype.h
@@ -1,12 +1,16 @@
/*
- * Various machine type definitions
+ * Various machine type macros
*
* 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) 1998 Harald Koerfgen
+ * Copyright (c) 1998, 2000 Harald Koerfgen
*/
+
+#ifndef __ASM_DEC_MACHTYPE_H
+#define __ASM_DEC_MACHTYPE_H
+
#include <asm/bootinfo.h>
#define TURBOCHANNEL (mips_machtype == MACH_DS5000_200 || \
@@ -18,3 +22,4 @@
mips_machtype == MACH_DS5000_XX || \
mips_machtype == MACH_DS5000_2X0)
+#endif
diff --git a/include/asm-mips/pgalloc.h b/include/asm-mips/pgalloc.h
index 75f00ca7f..75bc57669 100644
--- a/include/asm-mips/pgalloc.h
+++ b/include/asm-mips/pgalloc.h
@@ -1,4 +1,4 @@
-/* $Id: pgalloc.h,v 1.1 2000/02/01 16:57:23 ralf Exp $
+/* $Id: pgalloc.h,v 1.1 2000/02/04 07:40:53 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
@@ -34,11 +34,11 @@ extern void (*flush_page_to_ram)(struct page * page);
* - 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,
+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 void flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
/*
* Allocate and free page tables. The xxx_kernel() versions are