summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/highmem.h
blob: 032acd2ee2143382e5b5bc4292323a2a0ef3d6fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* $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 */