patch-2.4.0-test4 linux/include/linux/highmem.h
Next file: linux/include/linux/if_eql.h
Previous file: linux/include/linux/hdlcdrv.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Wed Jul 12 22:01:34 2000
- Orig file:
v2.4.0-test3/linux/include/linux/highmem.h
- Orig date:
Sun Mar 19 18:35:31 2000
diff -u --recursive --new-file v2.4.0-test3/linux/include/linux/highmem.h linux/include/linux/highmem.h
@@ -23,7 +23,11 @@
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)
+
+static __inline__ unsigned long kmap(struct page * page) {
+ return 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)