projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e43f9d4
)
add page_address()
author
David Schleef
<ds@schleef.org>
Thu, 21 Nov 2002 04:27:21 +0000
(
04:27
+0000)
committer
David Schleef
<ds@schleef.org>
Thu, 21 Nov 2002 04:27:21 +0000
(
04:27
+0000)
include/linux/mm.h
patch
|
blob
|
history
diff --git
a/include/linux/mm.h
b/include/linux/mm.h
index 645ce36b22ae2ae49ad67e7b16117067cccb8a60..98c1e993b114532a088b81deb9a40c65e4d1d759 100644
(file)
--- a/
include/linux/mm.h
+++ b/
include/linux/mm.h
@@
-9,6
+9,7
@@
#if LINUX_VERSION_CODE < 0x020300
#define VM_OFFSET(a) ((a)->vm_offset)
+#define page_address(page) page
#else
#define VM_OFFSET(a) ((a)->vm_pgoff * PAGE_SIZE)
#endif