patch-2.3.48 linux/include/asm-mips64/highmem.h

Next file: linux/include/asm-mips64/ide.h
Previous file: linux/include/asm-mips64/hdreg.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/include/asm-mips64/highmem.h linux/include/asm-mips64/highmem.h
@@ -0,0 +1,28 @@
+/* $Id: highmem.h,v 1.2 2000/01/29 01:42:28 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.
+ *
+ * Copyright (C) 2000 by Ralf Baechle
+ * Copyright (C) 2000 Silicon Graphics, Inc.
+ */
+#ifndef _ASM_HIGHMEM_H
+#define _ASM_HIGHMEM_H
+
+#include <linux/init.h>
+#include <asm/pgtable.h>
+
+/* declarations for highmem.c */
+extern unsigned long highstart_pfn, highend_pfn;
+
+extern pte_t *kmap_pte;
+extern pgprot_t kmap_prot;
+
+#define kmap_init()			do { } while(0)
+#define kmap(page)			page_address(page)
+#define kunmap(page)			do { } while(0)
+#define kmap_atomic(page, type)		page_address(page)
+#define kunmap_atomic(page, type)	do { } while(0)
+
+#endif /* _ASM_HIGHMEM_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)