diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2009-06-08 13:21:27 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-06-08 13:21:27 +0200 |
commit | e635a01ea0a16cf7cd31ecd2305870385dca9be6 (patch) | |
tree | c7153e7dee5caf6ac90d85694ff27e4d0b606290 /arch/mips/include/asm/highmem.h | |
parent | mtd: physmap_of: Add multiple regions and concatenation support (diff) | |
parent | [MTD] [NAND] S3C2410: Use DIV_ROUND_UP (diff) | |
download | linux-e635a01ea0a16cf7cd31ecd2305870385dca9be6.tar.xz linux-e635a01ea0a16cf7cd31ecd2305870385dca9be6.zip |
Merge branch 'next-mtd' of git://aeryn.fluff.org.uk/bjdooks/linux
Diffstat (limited to 'arch/mips/include/asm/highmem.h')
-rw-r--r-- | arch/mips/include/asm/highmem.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/include/asm/highmem.h b/arch/mips/include/asm/highmem.h index 4374ab2adc75..25adfb02923d 100644 --- a/arch/mips/include/asm/highmem.h +++ b/arch/mips/include/asm/highmem.h @@ -30,8 +30,6 @@ /* declarations for highmem.c */ extern unsigned long highstart_pfn, highend_pfn; -extern pte_t *kmap_pte; -extern pgprot_t kmap_prot; extern pte_t *pkmap_page_table; /* @@ -62,6 +60,10 @@ extern struct page *__kmap_atomic_to_page(void *ptr); #define flush_cache_kmaps() flush_cache_all() +extern void kmap_init(void); + +#define kmap_prot PAGE_KERNEL + #endif /* __KERNEL__ */ #endif /* _ASM_HIGHMEM_H */ |