diff options
Diffstat (limited to 'include/linux/highmem.h')
-rw-r--r-- | include/linux/highmem.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/highmem.h b/include/linux/highmem.h index 211ff4497269..74152c08ad07 100644 --- a/include/linux/highmem.h +++ b/include/linux/highmem.h | |||
@@ -17,6 +17,12 @@ static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page | |||
17 | static inline void flush_kernel_dcache_page(struct page *page) | 17 | static inline void flush_kernel_dcache_page(struct page *page) |
18 | { | 18 | { |
19 | } | 19 | } |
20 | static inline void flush_kernel_vmap_range(void *vaddr, int size) | ||
21 | { | ||
22 | } | ||
23 | static inline void invalidate_kernel_vmap_range(void *vaddr, int size) | ||
24 | { | ||
25 | } | ||
20 | #endif | 26 | #endif |
21 | 27 | ||
22 | #include <asm/kmap_types.h> | 28 | #include <asm/kmap_types.h> |
@@ -46,7 +52,7 @@ void kmap_flush_unused(void); | |||
46 | 52 | ||
47 | static inline unsigned int nr_free_highpages(void) { return 0; } | 53 | static inline unsigned int nr_free_highpages(void) { return 0; } |
48 | 54 | ||
49 | #define totalhigh_pages 0 | 55 | #define totalhigh_pages 0UL |
50 | 56 | ||
51 | #ifndef ARCH_HAS_KMAP | 57 | #ifndef ARCH_HAS_KMAP |
52 | static inline void *kmap(struct page *page) | 58 | static inline void *kmap(struct page *page) |