patch-2.3.29 linux/include/linux/highmem.h

Next file: linux/include/linux/if_arp.h
Previous file: linux/include/linux/ftape.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.28/linux/include/linux/highmem.h linux/include/linux/highmem.h
@@ -2,8 +2,7 @@
 #define _LINUX_HIGHMEM_H
 
 #include <linux/config.h>
-#include <linux/pagemap.h>
-#include <asm/pgtable.h>
+#include <asm/pgalloc.h>
 
 #ifdef CONFIG_HIGHMEM
 
@@ -24,7 +23,7 @@
 extern inline unsigned int nr_free_highpages(void) { return 0; }
 #define prepare_highmem_swapout(page) page
 #define replace_with_highmem(page) page
-#define kmap(page) page_address(page)
+#define kmap(page) __page_address(page)
 #define kunmap(page) do { } while (0)
 
 #endif /* CONFIG_HIGHMEM */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)