patch-2.3.48 linux/include/asm-mips/highmem.h
Next file: linux/include/asm-mips/ide.h
Previous file: linux/include/asm-mips/hdreg.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Thu Feb 24 22:52:30 2000
- Orig file:
v2.3.47/linux/include/asm-mips/highmem.h
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.3.47/linux/include/asm-mips/highmem.h linux/include/asm-mips/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)