diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-11 00:21:17 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-11 00:21:17 +0000 |
commit | 50e6701288302873aae0de25af08d04eccac521d (patch) | |
tree | 7375b2378912cd1f37a2969e1be2648540a9cca6 /include | |
parent | 9734671b950b4037256b73fcdd0f30476ad194d9 (diff) |
Die oh evil ...
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/highmem.h | 36 | ||||
-rw-r--r-- | include/asm-mips64/highmem.h | 28 |
2 files changed, 0 insertions, 64 deletions
diff --git a/include/asm-mips/highmem.h b/include/asm-mips/highmem.h deleted file mode 100644 index 011247f16..000000000 --- a/include/asm-mips/highmem.h +++ /dev/null @@ -1,36 +0,0 @@ -/* $Id: highmem.h,v 1.1 2000/01/27 01:05:37 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) - -static __inline__ unsigned long kmap(struct page * page) { - return page_address(page); -} - -#define kunmap(page) do { } while(0) - -static __inline__ unsigned long kmap_atomic(struct page *page, int type) { - return page_address(page) -} - -#define kunmap_atomic(page, type) do { } while(0) - -#endif /* _ASM_HIGHMEM_H */ diff --git a/include/asm-mips64/highmem.h b/include/asm-mips64/highmem.h deleted file mode 100644 index 032acd2ee..000000000 --- a/include/asm-mips64/highmem.h +++ /dev/null @@ -1,28 +0,0 @@ -/* $Id: highmem.h,v 1.1 2000/01/27 01:05:37 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 */ |