projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f29dc28
)
band aid from Bernd Porr for VMALLOC_VMADDR macro getting dropped in 2.6
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 11 Jan 2004 23:27:13 +0000
(23:27 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 11 Jan 2004 23:27:13 +0000
(23:27 +0000)
(from kernel changelog this happened because it did nothing).
include/linux/vmalloc.h
patch
|
blob
|
history
diff --git
a/include/linux/vmalloc.h
b/include/linux/vmalloc.h
index bbc3c7c3e214e4aab93e8da2d6ad4aa6bacba249..0da835a72a83fd6788416a71e9126c768597d35f 100644
(file)
--- a/
include/linux/vmalloc.h
+++ b/
include/linux/vmalloc.h
@@
-21,6
+21,9
@@
extern inline void * vmalloc_32(unsigned long size)
}
#endif // 2.2.18
+#ifndef VMALLOC_VMADDR
+#define VMALLOC_VMADDR(x) ((unsigned long)(x))
+#endif
#endif