band aid from Bernd Porr for VMALLOC_VMADDR macro getting dropped in 2.6
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 11 Jan 2004 23:27:13 +0000 (23:27 +0000)
committerFrank 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

index bbc3c7c3e214e4aab93e8da2d6ad4aa6bacba249..0da835a72a83fd6788416a71e9126c768597d35f 100644 (file)
@@ -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