X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fhighmem.h;fp=include%2Flinux%2Fhighmem.h;h=6bece9280eb779cf673e9f700ccc64ccc28d543a;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=a7a0d2a452f91da23bbc0c9535a943ce882e51ef;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/linux/highmem.h b/include/linux/highmem.h index a7a0d2a45..6bece9280 100644 --- a/include/linux/highmem.h +++ b/include/linux/highmem.h @@ -1,39 +1,22 @@ #ifndef _LINUX_HIGHMEM_H #define _LINUX_HIGHMEM_H +#include #include #include #include -#ifndef ARCH_HAS_FLUSH_ANON_PAGE -static inline void flush_anon_page(struct page *page, unsigned long vmaddr) -{ -} -#endif - -#ifndef ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE -static inline void flush_kernel_dcache_page(struct page *page) -{ -} -#endif - #ifdef CONFIG_HIGHMEM #include /* declarations for linux/mm/highmem.c */ unsigned int nr_free_highpages(void); -#ifdef CONFIG_XEN -void kmap_flush_unused(void); -#endif #else /* CONFIG_HIGHMEM */ static inline unsigned int nr_free_highpages(void) { return 0; } -#ifdef CONFIG_XEN -static inline void kmap_flush_unused(void) { } -#endif static inline void *kmap(struct page *page) {